#B9117B
Closest named color: Medium Violet Red (#C71585). oklch(52.3% 0.211 349.8), rgb(185, 17, 123).
Aa
White text reads best on this color (6.12:1).
About this color
#B9117B is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.211 and its hue 350°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.032 away. White text reads best on it, at 6.12:1.
| Hue family | Reds |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.211) |
| Temperature | warm |
| Nearest name | Medium Violet Red (#C71585) |
| Black text | 3.42:1 |
| White text | 6.12:1 |
Values
| HEX | #B9117B |
| RGB | rgb(185, 17, 123) |
| HSL | hsl(322, 83%, 40%) |
| OKLCH | oklch(52.3% 0.211 349.8) |
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 #B9117B | 6.12:1 | AA | Lc -83.8 | Fine for body text |
| Black text on #B9117B | 3.42:1 | AA large text | Lc 25.5 | Dividers and decoration only |
| #B9117B text on white | 6.12:1 | AA | Lc 78.6 | Fine for body text |
| #B9117B text on black | 3.42:1 | AA large text | Lc -23.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
#FDF2F7
oklch(97.1% 0.013 347.9)
-
Step 100
100
#FAE2ED
oklch(93.5% 0.03 348.2)
-
Step 200
200
#F7CBDE
oklch(88.5% 0.055 350.5)
-
Step 300
300
#F3A5CA
oklch(80.8% 0.103 349.7)
-
Step 400
400
#E971AF
oklch(70.7% 0.163 349.8)
-
Step 500
500
#DE439B
oklch(63% 0.208 349.8)
-
Step 600
600
#C90E86
oklch(55.5% 0.226 349.6)
-
Step 700
700 (this color)
#B9117B
oklch(52.3% 0.211 349.8)
-
Step 800
800
#8D065C
oklch(42.7% 0.174 350)
-
Step 900
900
#72164C
oklch(37.8% 0.136 349.9)
-
Step 950
950
#430F2C
oklch(26.9% 0.087 350.1)
#B9117B 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) | #38507D | 0.240 |
| Deuteranopia (no green cones) | #686C78 | 0.208 |
| Tritanopia (no blue cones) | #C70049 | 0.083 |
| Achromatopsia (no color) | #626262 | 0.212 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B9117B
#B9117B
oklch(52.3% 0.211 349.8)
- #007D60
#007D60
oklch(52.4% 0.105 169.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 #B9117B, closest first.
No curated palette has a color within ΔE 0.04 of #B9117B.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Violet Red #C71585 ΔE 0.032
- Red Violet #9E0168 ΔE 0.064
- Deep Magenta #A0025C ΔE 0.070
- Violet Red #A50055 ΔE 0.070
- Dark Hot Pink #D90166 ΔE 0.076
- Dark Fuchsia #9D0759 ΔE 0.077
- Raspberry #B00149 ΔE 0.077
- Warm Purple #952E8F ΔE 0.080
Use #B9117B 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.