#B31E94
Closest named color: Medium Violet Red (#C71585). oklch(53% 0.213 338.7), rgb(179, 30, 148).
Aa
White text reads best on this color (5.94:1).
About this color
#B31E94 is a medium-dark, vivid pink. In OKLCH its lightness is 53%, its chroma 0.213 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.048 away. White text reads best on it, at 5.94:1.
| Hue family | Pinks |
| Lightness | medium-dark (53%) |
| Chroma | vivid (0.213) |
| Temperature | warm |
| Nearest name | Medium Violet Red (#C71585) |
| Black text | 3.53:1 |
| White text | 5.94:1 |
Values
| HEX | #B31E94 |
| RGB | rgb(179, 30, 148) |
| HSL | hsl(312, 71%, 41%) |
| OKLCH | oklch(53% 0.213 338.7) |
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 #B31E94 | 5.94:1 | AA | Lc -83.4 | Fine for body text |
| Black text on #B31E94 | 3.53:1 | AA large text | Lc 25.9 | Dividers and decoration only |
| #B31E94 text on white | 5.94:1 | AA | Lc 78.1 | Fine for body text |
| #B31E94 text on black | 3.53:1 | AA large text | Lc -23.7 | 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 600.
-
Step 50
50
#FCF2F8
oklch(97.1% 0.013 340.5)
-
Step 100
100
#F7E3F0
oklch(93.6% 0.028 338.6)
-
Step 200
200
#F2CCE5
oklch(88.5% 0.054 338.8)
-
Step 300
300
#EAA9D6
oklch(81% 0.096 338.3)
-
Step 400
400
#DD77C0
oklch(70.6% 0.154 338.9)
-
Step 500
500
#D14EB0
oklch(63.1% 0.197 338.9)
-
Step 600
600 (this color)
#B31E94
oklch(53% 0.213 338.7)
-
Step 700
700
#A11985
oklch(49% 0.198 338.6)
-
Step 800
800
#831A6C
oklch(42.7% 0.164 338.8)
-
Step 900
900
#6A1E58
oklch(37.8% 0.128 338.7)
-
Step 950
950
#3E1333
oklch(26.9% 0.08 338.9)
#B31E94 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) | #285597 | 0.239 |
| Deuteranopia (no green cones) | #5D6C91 | 0.202 |
| Tritanopia (no blue cones) | #BE275A | 0.101 |
| Achromatopsia (no color) | #646464 | 0.215 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B31E94
#B31E94
oklch(53% 0.213 338.7)
- #008151
#008151
oklch(53.2% 0.123 158.7)
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 #B31E94, closest first.
No curated palette has a color within ΔE 0.04 of #B31E94.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Violet Red #C71585 ΔE 0.048
- Warm Purple #952E8F ΔE 0.060
- Purply #983FB2 ΔE 0.077
- Purpley Pink #C83CB9 ΔE 0.077
- Red Violet #9E0168 ΔE 0.081
- Dark Magenta #8B008B ΔE 0.092
- Deep Magenta #A0025C ΔE 0.095
- Light Eggplant #894585 ΔE 0.097
Use #B31E94 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.