#B02862#B02862
#B02862 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.177 H 0.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #B02862 |
|---|---|
| RGB | rgb(176, 40, 98) |
| HSL | hsl(334, 63%, 42%) |
| HSV | hsv(334, 77%, 69%) |
| CMYK | cmyk(0%, 77.3%, 44.3%, 31%) |
| CIE-LAB | lab(40.63, 57.57, -0.09) |
| CIE-LCH | lch(40.63, 57.57, 359.91°) |
| OKLab | oklab(51.13% 0.1768 0.0004) |
| OKLCH | oklch(51.13% 0.177 0.1) |
| XYZ | xyz(20.8695, 11.6323, 12.6992) |
| Luminance | 0.1163 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.66
Deep Pink
#CB0162
ΔE00 4.88
Purplish Red
#B0054B
ΔE00 5.57
Magenta (survey)
#C20078
ΔE00 5.69
Deep Magenta
#A0025C
ΔE00 5.75
Light Burgundy
#A8415B
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02862 #28B076
analogous
#B028A6 #B02862 #B03228
triadic
#B02862 #62B028 #2862B0
tetradic
#B02862 #A6B028 #28B076 #3228B0
square
#B02862 #A6B028 #28B076 #3228B0
split-complementary
#B02862 #28B032 #28A6B0
monochromatic
#4C112A #7E1D46 #B02862 #D44180 #DF73A1
Accessibility & contrast
On white
6.31
#B02862 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#B02862 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02862
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02862 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02862 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474F63
Deuteranopia (green-blind)
#6C695F
Tritanopia (blue-blind)
#BF0C42
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b02862; /* rgb */ color: rgb(176, 40, 98); /* oklch */ color: oklch(51.1% 0.177 0.1);
Tailwind
colors: {
custom: {
50: '#cd708e',
500: '#b02862',
950: '#000000',
},
}SCSS
$custom: #b02862; $custom-light: #cd708e; $custom-dark: #000000;
JSON
{
"hex": "#b02862",
"rgb": {
"r": 176,
"g": 40,
"b": 98
},
"hsl": {
"h": 334.412,
"s": 62.963,
"l": 42.353
},
"oklch": {
"l": 0.51133,
"c": 0.17682,
"h": 0.1
},
"luminance": 0.1163
}Semantic roles & 50–950 ramp
primary
#B02862
secondary
#6DC6A0
accent
#E6A042
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D