#B52A87
Closest named color: Medium Violet Red (#C71585). oklch(53.6% 0.196 344.8), rgb(181, 42, 135).
Aa
White text reads best on this color (5.76:1).
About this color
#B52A87 is a medium-dark, vivid pink. In OKLCH its lightness is 54%, its chroma 0.196 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.036 away. White text reads best on it, at 5.76:1.
| Hue family | Pinks |
| Lightness | medium-dark (54%) |
| Chroma | vivid (0.196) |
| Temperature | warm |
| Nearest name | Medium Violet Red (#C71585) |
| Black text | 3.64:1 |
| White text | 5.76:1 |
Values
| HEX | #B52A87 |
| RGB | rgb(181, 42, 135) |
| HSL | hsl(320, 62%, 44%) |
| OKLCH | oklch(53.6% 0.196 344.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 #B52A87 | 5.76:1 | AA | Lc -82.8 | Fine for body text |
| Black text on #B52A87 | 3.64:1 | AA large text | Lc 26.6 | Dividers and decoration only |
| #B52A87 text on white | 5.76:1 | AA | Lc 77.5 | Fine for body text |
| #B52A87 text on black | 3.64:1 | AA large text | Lc -24.3 | 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
#F7E3EE
oklch(93.5% 0.026 343.3)
-
Step 200
200
#F2CDE1
oklch(88.5% 0.049 344.4)
-
Step 300
300
#EAAACE
oklch(80.9% 0.088 344.5)
-
Step 400
400
#DD7AB5
oklch(70.7% 0.141 344.7)
-
Step 500
500
#D153A2
oklch(63.1% 0.18 344.9)
-
Step 600
600 (this color)
#B52A87
oklch(53.6% 0.196 344.8)
-
Step 700
700
#A22278
oklch(49.1% 0.183 344.9)
-
Step 800
800
#832062
oklch(42.7% 0.15 344.5)
-
Step 900
900
#6A2150
oklch(37.7% 0.118 344.6)
-
Step 950
950
#3E152F
oklch(27% 0.073 344.2)
#B52A87 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) | #3C5789 | 0.218 |
| Deuteranopia (no green cones) | #676E84 | 0.189 |
| Tritanopia (no blue cones) | #C12855 | 0.083 |
| Achromatopsia (no color) | #666666 | 0.197 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B52A87
#B52A87
oklch(53.6% 0.196 344.8)
- #00815D
#00815D
oklch(53.5% 0.112 165.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 #B52A87, closest first.
No curated palette has a color within ΔE 0.04 of #B52A87.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Violet Red #C71585 ΔE 0.036
- Warm Purple #952E8F ΔE 0.066
- Red Violet #9E0168 ΔE 0.076
- Deep Magenta #A0025C ΔE 0.083
- Dark Pink #CB416B ΔE 0.085
- Purpley Pink #C83CB9 ΔE 0.085
- Violet Red #A50055 ΔE 0.086
- Dark Hot Pink #D90166 ΔE 0.087
Use #B52A87 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.