#B02B7F#B02B7F
#B02B7F is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.187 H 346.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #B02B7F |
|---|---|
| RGB | rgb(176, 43, 127) |
| HSL | hsl(322, 61%, 43%) |
| HSV | hsv(322, 76%, 69%) |
| CMYK | cmyk(0%, 75.6%, 27.8%, 31%) |
| CIE-LAB | lab(41.99, 59.81, -16.11) |
| CIE-LCH | lch(41.99, 61.94, 344.92°) |
| OKLab | oklab(52.47% 0.1819 -0.0426) |
| OKLCH | oklch(52.47% 0.187 346.8) |
| XYZ | xyz(22.6002, 12.4927, 21.2957) |
| Luminance | 0.1249 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.96
Magenta (survey)
#C20078
ΔE00 3.97
Red Violet
#9E0168
ΔE00 6.50
Deep Magenta
#A0025C
ΔE00 7.83
Warm Purple
#952E8F
ΔE00 7.87
Ugly Purple
#A442A0
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02B7F #2BB05C
analogous
#9E2BB0 #B02B7F #B02B3D
triadic
#B02B7F #7FB02B #2B7FB0
tetradic
#B02B7F #B09E2B #2BB05C #2B3DB0
square
#B02B7F #B09E2B #2BB05C #2B3DB0
split-complementary
#B02B7F #3DB02B #2BB09E
monochromatic
#4E1338 #7F1F5C #B02B7F #D2469E #DE78B8
Accessibility & contrast
On white
6.00
#B02B7F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#B02B7F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02B7F
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02B7F | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5581
Deuteranopia (green-blind)
#666B7C
Tritanopia (blue-blind)
#BC2651
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b02b7f; /* rgb */ color: rgb(176, 43, 127); /* oklch */ color: oklch(52.5% 0.187 346.8);
Tailwind
colors: {
custom: {
50: '#cc72a4',
500: '#b02b7f',
950: '#000000',
},
}SCSS
$custom: #b02b7f; $custom-light: #cc72a4; $custom-dark: #000000;
JSON
{
"hex": "#b02b7f",
"rgb": {
"r": 176,
"g": 43,
"b": 127
},
"hsl": {
"h": 322.105,
"s": 60.731,
"l": 42.941
},
"oklch": {
"l": 0.52466,
"c": 0.18682,
"h": 346.8
},
"luminance": 0.1249
}Semantic roles & 50–950 ramp
primary
#B02B7F
secondary
#71C690
accent
#E47F44
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F