#B8286F#B8286F
#B8286F is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.188 H 356.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B8286F |
|---|---|
| RGB | rgb(184, 40, 111) |
| HSL | hsl(330, 64%, 44%) |
| HSV | hsv(330, 78%, 72%) |
| CMYK | cmyk(0%, 78.3%, 39.7%, 27.8%) |
| CIE-LAB | lab(42.55, 60.99, -5.22) |
| CIE-LCH | lch(42.55, 61.21, 355.11°) |
| OKLab | oklab(52.95% 0.1875 -0.013) |
| OKLCH | oklch(52.95% 0.188 356) |
| XYZ | xyz(23.3969, 12.8586, 16.2857) |
| Luminance | 0.1286 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.17
Mediumvioletred
#C71585
ΔE00 4.91
Deep Pink
#CB0162
ΔE00 5.17
Violet Red
#A50055
ΔE00 6.72
Deep Magenta
#A0025C
ΔE00 6.87
Dark Hot Pink
#D90166
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8286F #28B871
analogous
#B828B7 #B8286F #B82928
triadic
#B8286F #6FB828 #286FB8
tetradic
#B8286F #B7B828 #28B871 #2928B8
square
#B8286F #B7B828 #28B871 #2928B8
split-complementary
#B8286F #28B829 #28B7B8
monochromatic
#531232 #861D51 #B8286F #D7468E #E279AC
Accessibility & contrast
On white
5.88
#B8286F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#B8286F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8286F
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8286F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8286F | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#475371
Deuteranopia (green-blind)
#6F6E6C
Tritanopia (blue-blind)
#C71148
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b8286f; /* rgb */ color: rgb(184, 40, 111); /* oklch */ color: oklch(53.0% 0.188 356.0);
Tailwind
colors: {
custom: {
50: '#d37198',
500: '#b8286f',
950: '#000000',
},
}SCSS
$custom: #b8286f; $custom-light: #d37198; $custom-dark: #000000;
JSON
{
"hex": "#b8286f",
"rgb": {
"r": 184,
"g": 40,
"b": 111
},
"hsl": {
"h": 330.417,
"s": 64.286,
"l": 43.922
},
"oklch": {
"l": 0.52953,
"c": 0.18799,
"h": 356
},
"luminance": 0.12856
}Semantic roles & 50–950 ramp
primary
#B8286F
secondary
#72CA9F
accent
#E79541
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E