#B31F50
Closest named color: Raspberry (#B00149). oklch(50.5% 0.183 8.2), rgb(179, 31, 80).
Aa
White text reads best on this color (6.50:1).
About this color
#B31F50 is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.183 and its hue 8°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.023 away. White text reads best on it, at 6.50:1.
| Hue family | Reds |
| Lightness | medium-dark (50%) |
| Chroma | vivid (0.183) |
| Temperature | warm |
| Nearest name | Raspberry (#B00149) |
| Black text | 3.22:1 |
| White text | 6.50:1 |
Values
| HEX | #B31F50 |
| RGB | rgb(179, 31, 80) |
| HSL | hsl(340, 70%, 41%) |
| OKLCH | oklch(50.5% 0.183 8.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 #B31F50 | 6.50:1 | AA | Lc -85.8 | Fine for body text |
| Black text on #B31F50 | 3.22:1 | AA large text | Lc 23.4 | Dividers and decoration only |
| #B31F50 text on white | 6.50:1 | AA | Lc 80.6 | Fine for body text |
| #B31F50 text on black | 3.22:1 | AA large text | Lc -21.2 | 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
#FDF2F4
oklch(97% 0.012 4.7)
-
Step 100
100
#FAE3E6
oklch(93.5% 0.026 8.6)
-
Step 200
200
#F7CCD3
oklch(88.4% 0.049 7.1)
-
Step 300
300
#F3A9B5
oklch(80.9% 0.088 8.5)
-
Step 400
400
#E9788F
oklch(70.7% 0.141 8.5)
-
Step 500
500
#DF4F74
oklch(63.2% 0.18 8.3)
-
Step 600
600
#CA295D
oklch(55.6% 0.197 8)
-
Step 700
700 (this color)
#B31F50
oklch(50.5% 0.183 8.2)
-
Step 800
800
#8D193F
oklch(42.6% 0.151 7.8)
-
Step 900
900
#721E35
oklch(37.8% 0.118 8.5)
-
Step 950
950
#43131F
oklch(27% 0.075 8.4)
#B31F50 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) | #494B51 | 0.206 |
| Deuteranopia (no green cones) | #6F684C | 0.186 |
| Tritanopia (no blue cones) | #C40035 | 0.047 |
| Achromatopsia (no color) | #5E5E5E | 0.184 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B31F50
#B31F50
oklch(50.5% 0.183 8.2)
- #00746E
#00746E
oklch(50.4% 0.087 188.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 #B31F50, closest first.
No curated palette has a color within ΔE 0.04 of #B31F50.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Raspberry #B00149 ΔE 0.023
- Rose Red #BE013C ΔE 0.033
- Rouge #AB1239 ΔE 0.036
- Violet Red #A50055 ΔE 0.046
- Ruby #CA0147 ΔE 0.046
- Lipstick Red #C0022F ΔE 0.048
- Light Burgundy #A8415B ΔE 0.049
- Firebrick #B22222 ΔE 0.059
Use #B31F50 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.