#B02A7E#B02A7E
#B02A7E is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.187 H 347.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B02A7E |
|---|---|
| RGB | rgb(176, 42, 126) |
| HSL | hsl(322, 61%, 43%) |
| HSV | hsv(322, 76%, 69%) |
| CMYK | cmyk(0%, 76.1%, 28.4%, 31%) |
| CIE-LAB | lab(41.84, 60.00, -15.73) |
| CIE-LCH | lch(41.84, 62.03, 345.31°) |
| OKLab | oklab(52.34% 0.1827 -0.0415) |
| OKLCH | oklch(52.34% 0.187 347.2) |
| XYZ | xyz(22.4994, 12.3949, 20.9422) |
| Luminance | 0.1239 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.83
Mediumvioletred
#C71585
ΔE00 3.97
Red Violet
#9E0168
ΔE00 6.33
Deep Magenta
#A0025C
ΔE00 7.61
Warm Purple
#952E8F
ΔE00 7.98
Dark Fuchsia
#9D0759
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02A7E #2AB05C
analogous
#9F2AB0 #B02A7E #B02A3B
triadic
#B02A7E #7EB02A #2A7EB0
tetradic
#B02A7E #B09F2A #2AB05C #2A3BB0
square
#B02A7E #B09F2A #2AB05C #2A3BB0
split-complementary
#B02A7E #3BB02A #2AB09F
monochromatic
#4D1237 #7F1E5B #B02A7E #D3459E #DE76B7
Accessibility & contrast
On white
6.04
#B02A7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#B02A7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02A7E
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02A7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02A7E | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5480
Deuteranopia (green-blind)
#666B7B
Tritanopia (blue-blind)
#BD2551
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b02a7e; /* rgb */ color: rgb(176, 42, 126); /* oklch */ color: oklch(52.3% 0.187 347.2);
Tailwind
colors: {
custom: {
50: '#cc71a3',
500: '#b02a7e',
950: '#000000',
},
}SCSS
$custom: #b02a7e; $custom-light: #cc71a3; $custom-dark: #000000;
JSON
{
"hex": "#b02a7e",
"rgb": {
"r": 176,
"g": 42,
"b": 126
},
"hsl": {
"h": 322.388,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.52343,
"c": 0.18733,
"h": 347.2
},
"luminance": 0.12392
}Semantic roles & 50–950 ramp
primary
#B02A7E
secondary
#70C690
accent
#E57F43
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F