#B42286
Closest named color: Medium Violet Red (#C71585). oklch(52.8% 0.202 344.6), rgb(180, 34, 134).
Aa
White text reads best on this color (5.97:1).
About this color
#B42286 is a medium-dark, vivid pink. In OKLCH its lightness is 53%, its chroma 0.202 and its hue 345°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.037 away. White text reads best on it, at 5.97:1.
| Hue family | Pinks |
| Lightness | medium-dark (53%) |
| Chroma | vivid (0.202) |
| Temperature | warm |
| Nearest name | Medium Violet Red (#C71585) |
| Black text | 3.51:1 |
| White text | 5.97:1 |
Values
| HEX | #B42286 |
| RGB | rgb(180, 34, 134) |
| HSL | hsl(319, 68%, 42%) |
| OKLCH | oklch(52.8% 0.202 344.6) |
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 #B42286 | 5.97:1 | AA | Lc -83.6 | Fine for body text |
| Black text on #B42286 | 3.51:1 | AA large text | Lc 25.7 | Dividers and decoration only |
| #B42286 text on white | 5.97:1 | AA | Lc 78.4 | Fine for body text |
| #B42286 text on black | 3.51:1 | AA large text | Lc -23.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 600.
-
Step 50
50
#FCF2F7
oklch(97% 0.013 345.5)
-
Step 100
100
#F8E3EE
oklch(93.6% 0.027 344.6)
-
Step 200
200
#F3CCE1
oklch(88.5% 0.052 344.6)
-
Step 300
300
#ECA9CF
oklch(80.9% 0.092 344.3)
-
Step 400
400
#DF79B6
oklch(70.8% 0.145 344.7)
-
Step 500
500
#D351A4
oklch(63.2% 0.186 344.5)
-
Step 600
600 (this color)
#B42286
oklch(52.8% 0.202 344.6)
-
Step 700
700
#A31E79
oklch(49.1% 0.188 344.6)
-
Step 800
800
#851D63
oklch(42.8% 0.156 344.5)
-
Step 900
900
#6B1F50
oklch(37.7% 0.121 344.9)
-
Step 950
950
#3F142F
oklch(27% 0.076 344.8)
#B42286 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) | #365489 | 0.227 |
| Deuteranopia (no green cones) | #646C83 | 0.196 |
| Tritanopia (no blue cones) | #C02053 | 0.085 |
| Achromatopsia (no color) | #636363 | 0.204 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B42286
#B42286
oklch(52.8% 0.202 344.6)
- #007F5A
#007F5A
oklch(52.8% 0.112 164.4)
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 #B42286, closest first.
No curated palette has a color within ΔE 0.04 of #B42286.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Violet Red #C71585 ΔE 0.037
- Warm Purple #952E8F ΔE 0.064
- Red Violet #9E0168 ΔE 0.069
- Deep Magenta #A0025C ΔE 0.078
- Violet Red #A50055 ΔE 0.082
- Dark Fuchsia #9D0759 ΔE 0.085
- Purpley Pink #C83CB9 ΔE 0.090
- Dark Hot Pink #D90166 ΔE 0.090
Use #B42286 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.