#B02A6A#B02A6A
#B02A6A is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.178 H 356.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B02A6A |
|---|---|
| RGB | rgb(176, 42, 106) |
| HSL | hsl(331, 61%, 43%) |
| HSV | hsv(331, 76%, 69%) |
| CMYK | cmyk(0%, 76.1%, 39.8%, 31%) |
| CIE-LAB | lab(41.10, 57.74, -4.41) |
| CIE-LCH | lch(41.10, 57.90, 355.64°) |
| OKLab | oklab(51.57% 0.1774 -0.0109) |
| OKLCH | oklch(51.57% 0.178 356.5) |
| XYZ | xyz(21.3355, 11.9293, 14.8119) |
| Luminance | 0.1193 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.24
Violet Red
#A50055
ΔE00 5.49
Deep Magenta
#A0025C
ΔE00 5.64
Deep Pink
#CB0162
ΔE00 5.81
Dark Fuchsia
#9D0759
ΔE00 5.99
Mediumvioletred
#C71585
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02A6A #2AB070
analogous
#B02AAD #B02A6A #B02D2A
triadic
#B02A6A #6AB02A #2A6AB0
tetradic
#B02A6A #ADB02A #2AB070 #2D2AB0
square
#B02A6A #ADB02A #2AB070 #2D2AB0
split-complementary
#B02A6A #2AB02D #2AADB0
monochromatic
#4D122E #7F1E4C #B02A6A #D34588 #DE76A8
Accessibility & contrast
On white
6.20
#B02A6A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#B02A6A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02A6A
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02A6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02A6A | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#46516C
Deuteranopia (green-blind)
#6B6A67
Tritanopia (blue-blind)
#BE1746
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b02a6a; /* rgb */ color: rgb(176, 42, 106); /* oklch */ color: oklch(51.6% 0.178 356.5);
Tailwind
colors: {
custom: {
50: '#cd7194',
500: '#b02a6a',
950: '#000000',
},
}SCSS
$custom: #b02a6a; $custom-light: #cd7194; $custom-dark: #000000;
JSON
{
"hex": "#b02a6a",
"rgb": {
"r": 176,
"g": 42,
"b": 106
},
"hsl": {
"h": 331.343,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.51567,
"c": 0.17771,
"h": 356.5
},
"luminance": 0.11927
}Semantic roles & 50–950 ramp
primary
#B02A6A
secondary
#70C69D
accent
#E59843
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E