#B02A6B#B02A6B
#B02A6B is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.178 H 356.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B02A6B |
|---|---|
| RGB | rgb(176, 42, 107) |
| HSL | hsl(331, 61%, 43%) |
| HSV | hsv(331, 76%, 69%) |
| CMYK | cmyk(0%, 76.1%, 39.2%, 31%) |
| CIE-LAB | lab(41.14, 57.84, -4.98) |
| CIE-LCH | lch(41.14, 58.05, 355.08°) |
| OKLab | oklab(51.6% 0.1777 -0.0124) |
| OKLCH | oklch(51.6% 0.178 356) |
| XYZ | xyz(21.3878, 11.9503, 15.0874) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.08
Violet Red
#A50055
ΔE00 5.62
Deep Magenta
#A0025C
ΔE00 5.65
Deep Pink
#CB0162
ΔE00 5.96
Mediumvioletred
#C71585
ΔE00 6.01
Dark Fuchsia
#9D0759
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02A6B #2AB06F
analogous
#B02AAE #B02A6B #B02C2A
triadic
#B02A6B #6BB02A #2A6BB0
tetradic
#B02A6B #AEB02A #2AB06F #2C2AB0
square
#B02A6B #AEB02A #2AB06F #2C2AB0
split-complementary
#B02A6B #2AB02C #2AAEB0
monochromatic
#4D122F #7F1E4D #B02A6B #D34589 #DE76A9
Accessibility & contrast
On white
6.20
#B02A6B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#B02A6B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02A6B
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02A6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02A6B | 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)
#45516D
Deuteranopia (green-blind)
#6B6A68
Tritanopia (blue-blind)
#BE1847
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b02a6b; /* rgb */ color: rgb(176, 42, 107); /* oklch */ color: oklch(51.6% 0.178 356.0);
Tailwind
colors: {
custom: {
50: '#cd7195',
500: '#b02a6b',
950: '#000000',
},
}SCSS
$custom: #b02a6b; $custom-light: #cd7195; $custom-dark: #000000;
JSON
{
"hex": "#b02a6b",
"rgb": {
"r": 176,
"g": 42,
"b": 107
},
"hsl": {
"h": 330.896,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.51602,
"c": 0.17812,
"h": 356
},
"luminance": 0.11948
}Semantic roles & 50–950 ramp
primary
#B02A6B
secondary
#70C69C
accent
#E59643
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E