#B40342
Closest named color: Raspberry (#B00149). oklch(49.2% 0.195 12.2), rgb(180, 3, 66).
Aa
White text reads best on this color (6.92:1).
About this color
#B40342 is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.195 and its hue 12°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.015 away. White text reads best on it, at 6.92:1.
| Hue family | Reds |
| Lightness | medium-dark (49%) |
| Chroma | vivid (0.195) |
| Temperature | warm |
| Nearest name | Raspberry (#B00149) |
| Black text | 3.03:1 |
| White text | 6.92:1 |
Values
| HEX | #B40342 |
| RGB | rgb(180, 3, 66) |
| HSL | hsl(339, 97%, 36%) |
| OKLCH | oklch(49.2% 0.195 12.2) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #B40342 | 6.92:1 | AA | Lc -86.6 | Fine for body text |
| Black text on #B40342 | 3.03:1 | AA large text | Lc 22.6 | Dividers and decoration only |
| #B40342 text on white | 6.92:1 | AA | Lc 81.5 | Fine for body text |
| #B40342 text on black | 3.03:1 | AA large text | Lc -20.4 | Dividers and decoration only |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.
-
Step 50
50
#FEF2F3
oklch(97.1% 0.013 11.5)
-
Step 100
100
#FCE3E5
oklch(93.7% 0.028 12.1)
-
Step 200
200
#FACCD0
oklch(88.6% 0.052 12.3)
-
Step 300
300
#F7A7B0
oklch(80.8% 0.095 12)
-
Step 400
400
#EF7487
oklch(70.7% 0.152 12.1)
-
Step 500
500
#E54869
oklch(63.1% 0.193 12.3)
-
Step 600
600
#D01B51
oklch(55.6% 0.209 12.2)
-
Step 700
700 (this color)
#B40342
oklch(49.2% 0.195 12.2)
-
Step 800
800
#920F36
oklch(42.7% 0.161 12.4)
-
Step 900
900
#75192F
oklch(37.6% 0.126 12.2)
-
Step 950
950
#45111C
oklch(27% 0.08 11.7)
#B40342 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #454443 | 0.220 |
| Deuteranopia (no green cones) | #6E653E | 0.199 |
| Tritanopia (no blue cones) | #C60026 | 0.052 |
| Achromatopsia (no color) | #5A5A5A | 0.197 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B40342
#B40342
oklch(49.2% 0.195 12.2)
- #00706D
#00706D
oklch(49.2% 0.085 191.5)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #B40342, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Raspberry #B00149 ΔE 0.015
- Rouge #AB1239 ΔE 0.023
- Rose Red #BE013C ΔE 0.023
- Lipstick Red #C0022F ΔE 0.036
- Ruby #CA0147 ΔE 0.046
- Violet Red #A50055 ΔE 0.047
- Cranberry #9E003A ΔE 0.049
- Firebrick #B22222 ΔE 0.050
Use #B40342 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.