#B02786#B02786
#B02786 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.5% C 0.195 H 343.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B02786 |
|---|---|
| RGB | rgb(176, 39, 134) |
| HSL | hsl(318, 64%, 42%) |
| HSV | hsv(318, 78%, 69%) |
| CMYK | cmyk(0%, 77.8%, 23.9%, 31%) |
| CIE-LAB | lab(41.85, 61.92, -20.62) |
| CIE-LCH | lch(41.85, 65.26, 341.58°) |
| OKLab | oklab(52.46% 0.187 -0.0552) |
| OKLCH | oklch(52.46% 0.195 343.6) |
| XYZ | xyz(22.9340, 12.4048, 23.7362) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.45
Magenta (survey)
#C20078
ΔE00 5.02
Warm Purple
#952E8F
ΔE00 6.53
Ugly Purple
#A442A0
ΔE00 6.80
Red Violet
#9E0168
ΔE00 6.91
Barney Purple
#A00498
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02786 #27B051
analogous
#9627B0 #B02786 #B02742
triadic
#B02786 #86B027 #2786B0
tetradic
#B02786 #B09627 #27B051 #2742B0
square
#B02786 #B09627 #27B051 #2742B0
split-complementary
#B02786 #42B027 #27B096
monochromatic
#4C113A #7E1C60 #B02786 #D540A7 #E072BE
Accessibility & contrast
On white
6.03
#B02786 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#B02786 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02786
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02786 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375488
Deuteranopia (green-blind)
#626B83
Tritanopia (blue-blind)
#BC2754
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b02786; /* rgb */ color: rgb(176, 39, 134); /* oklch */ color: oklch(52.5% 0.195 343.6);
Tailwind
colors: {
custom: {
50: '#cc70a9',
500: '#b02786',
950: '#000000',
},
}SCSS
$custom: #b02786; $custom-light: #cc70a9; $custom-dark: #000000;
JSON
{
"hex": "#b02786",
"rgb": {
"r": 176,
"g": 39,
"b": 134
},
"hsl": {
"h": 318.394,
"s": 63.721,
"l": 42.157
},
"oklch": {
"l": 0.52463,
"c": 0.195,
"h": 343.6
},
"luminance": 0.12402
}Semantic roles & 50–950 ramp
primary
#B02786
secondary
#6CC788
accent
#E77441
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F