#B02C7F#B02C7F
#B02C7F is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.186 H 346.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B02C7F |
|---|---|
| RGB | rgb(176, 44, 127) |
| HSL | hsl(322, 60%, 43%) |
| HSV | hsv(322, 75%, 69%) |
| CMYK | cmyk(0%, 75%, 27.8%, 31%) |
| CIE-LAB | lab(42.10, 59.49, -15.94) |
| CIE-LCH | lch(42.10, 61.59, 345.00°) |
| OKLab | oklab(52.55% 0.1809 -0.0421) |
| OKLCH | oklch(52.55% 0.186 346.9) |
| XYZ | xyz(22.6370, 12.5663, 21.3080) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.94
Magenta (survey)
#C20078
ΔE00 3.98
Red Violet
#9E0168
ΔE00 6.60
Deep Magenta
#A0025C
ΔE00 7.88
Warm Purple
#952E8F
ΔE00 7.94
Ugly Purple
#A442A0
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02C7F #2CB05D
analogous
#9F2CB0 #B02C7F #B02C3D
triadic
#B02C7F #7FB02C #2C7FB0
tetradic
#B02C7F #B09F2C #2CB05D #2C3DB0
square
#B02C7F #B09F2C #2CB05D #2C3DB0
split-complementary
#B02C7F #3DB02C #2CB09F
monochromatic
#4E1438 #7F205C #B02C7F #D1489E #DD79B8
Accessibility & contrast
On white
5.98
#B02C7F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#B02C7F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02C7F
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02C7F | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5581
Deuteranopia (green-blind)
#666C7C
Tritanopia (blue-blind)
#BC2752
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b02c7f; /* rgb */ color: rgb(176, 44, 127); /* oklch */ color: oklch(52.5% 0.186 346.9);
Tailwind
colors: {
custom: {
50: '#cc72a4',
500: '#b02c7f',
950: '#000000',
},
}SCSS
$custom: #b02c7f; $custom-light: #cc72a4; $custom-dark: #000000;
JSON
{
"hex": "#b02c7f",
"rgb": {
"r": 176,
"g": 44,
"b": 127
},
"hsl": {
"h": 322.273,
"s": 60,
"l": 43.137
},
"oklch": {
"l": 0.52549,
"c": 0.18574,
"h": 346.9
},
"luminance": 0.12564
}Semantic roles & 50–950 ramp
primary
#B02C7F
secondary
#72C691
accent
#E37F45
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F