#B02A56#B02A56
#B02A56 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.172 H 6.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B02A56 |
|---|---|
| RGB | rgb(176, 42, 86) |
| HSL | hsl(340, 61%, 43%) |
| HSV | hsv(340, 76%, 69%) |
| CMYK | cmyk(0%, 76.1%, 51.1%, 31%) |
| CIE-LAB | lab(40.51, 55.86, 7.32) |
| CIE-LCH | lch(40.51, 56.34, 7.46°) |
| OKLab | oklab(50.94% 0.1705 0.0191) |
| OKLCH | oklch(50.94% 0.172 6.4) |
| XYZ | xyz(20.4140, 11.5607, 9.9588) |
| Luminance | 0.1156 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.32
Raspberry (survey)
#B00149
ΔE00 3.67
Light Burgundy
#A8415B
ΔE00 3.92
Deep Pink
#CB0162
ΔE00 5.08
Violet Red
#A50055
ΔE00 5.84
Light Maroon
#A24857
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02A56 #2AB084
analogous
#B02A99 #B02A56 #B0412A
triadic
#B02A56 #56B02A #2A56B0
tetradic
#B02A56 #99B02A #2AB084 #412AB0
square
#B02A56 #99B02A #2AB084 #412AB0
split-complementary
#B02A56 #2AB041 #2A99B0
monochromatic
#4D1226 #7F1E3E #B02A56 #D34573 #DE7698
Accessibility & contrast
On white
6.34
#B02A56 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#B02A56 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02A56
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02A56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02A56 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4E57
Deuteranopia (green-blind)
#6F6953
Tritanopia (blue-blind)
#C0043D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b02a56; /* rgb */ color: rgb(176, 42, 86); /* oklch */ color: oklch(50.9% 0.172 6.4);
Tailwind
colors: {
custom: {
50: '#ce7085',
500: '#b02a56',
950: '#000000',
},
}SCSS
$custom: #b02a56; $custom-light: #ce7085; $custom-dark: #000000;
JSON
{
"hex": "#b02a56",
"rgb": {
"r": 176,
"g": 42,
"b": 86
},
"hsl": {
"h": 340.299,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.50936,
"c": 0.17156,
"h": 6.4
},
"luminance": 0.11558
}Semantic roles & 50–950 ramp
primary
#B02A56
secondary
#70C6AA
accent
#E5B043
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C