#B2008F
Closest named color: Medium Violet Red (#C71585). oklch(51.6% 0.224 339.9), rgb(178, 0, 143).
Aa
White text reads best on this color (6.38:1).
About this color
#B2008F is a medium-dark, vivid pink. In OKLCH its lightness is 52%, its chroma 0.224 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.054 away. White text reads best on it, at 6.38:1.
| Hue family | Pinks |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.224) |
| Temperature | warm |
| Nearest name | Medium Violet Red (#C71585) |
| Black text | 3.28:1 |
| White text | 6.38:1 |
Values
| HEX | #B2008F |
| RGB | rgb(178, 0, 143) |
| HSL | hsl(312, 100%, 35%) |
| OKLCH | oklch(51.6% 0.224 339.9) |
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 #B2008F | 6.38:1 | AA | Lc -84.5 | Fine for body text |
| Black text on #B2008F | 3.28:1 | AA large text | Lc 24.8 | Dividers and decoration only |
| #B2008F text on white | 6.38:1 | AA | Lc 79.3 | Fine for body text |
| #B2008F text on black | 3.28:1 | AA large text | Lc -22.5 | 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
#FDF2F9
oklch(97.2% 0.015 338.9)
-
Step 100
100
#F9E2F1
oklch(93.6% 0.032 338.6)
-
Step 200
200
#F5CAE6
oklch(88.4% 0.06 339.3)
-
Step 300
300
#F0A5D7
oklch(80.9% 0.109 339.8)
-
Step 400
400
#E570C2
oklch(70.7% 0.173 340.1)
-
Step 500
500
#DA40B3
oklch(63.2% 0.222 339.9)
-
Step 600
600
#C5029E
oklch(55.6% 0.241 340.1)
-
Step 700
700 (this color)
#B2008F
oklch(51.6% 0.224 339.9)
-
Step 800
800
#8A006E
oklch(42.8% 0.186 340)
-
Step 900
900
#6F1459
oklch(37.8% 0.144 340)
-
Step 950
950
#410F34
oklch(27% 0.091 339.9)
#B2008F 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) | #1C4F92 | 0.257 |
| Deuteranopia (no green cones) | #59688C | 0.215 |
| Tritanopia (no blue cones) | #BD1153 | 0.104 |
| Achromatopsia (no color) | #5F5F5F | 0.226 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B2008F
#B2008F
oklch(51.6% 0.224 339.9)
- #007B50
#007B50
oklch(51.4% 0.116 160.3)
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 #B2008F, closest first.
No curated palette has a color within ΔE 0.04 of #B2008F.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Violet Red #C71585 ΔE 0.054
- Warm Purple #952E8F ΔE 0.062
- Red Violet #9E0168 ΔE 0.072
- Dark Magenta #8B008B ΔE 0.083
- Deep Magenta #A0025C ΔE 0.087
- Purply #983FB2 ΔE 0.089
- Purpley Pink #C83CB9 ΔE 0.093
- Dark Fuchsia #9D0759 ΔE 0.094
Use #B2008F 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.