#B2286E#B2286E
#B2286E is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.183 H 354.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #B2286E |
|---|---|
| RGB | rgb(178, 40, 110) |
| HSL | hsl(330, 63%, 43%) |
| HSV | hsv(330, 78%, 70%) |
| CMYK | cmyk(0%, 77.5%, 38.2%, 30.2%) |
| CIE-LAB | lab(41.39, 59.31, -6.44) |
| CIE-LCH | lch(41.39, 59.66, 353.81°) |
| OKLab | oklab(51.89% 0.1823 -0.0162) |
| OKLCH | oklch(51.89% 0.183 354.9) |
| XYZ | xyz(21.9348, 12.1111, 15.9314) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.40
Mediumvioletred
#C71585
ΔE00 5.29
Deep Magenta
#A0025C
ΔE00 5.85
Violet Red
#A50055
ΔE00 6.05
Deep Pink
#CB0162
ΔE00 6.15
Dark Fuchsia
#9D0759
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2286E #28B26C
analogous
#B128B2 #B2286E #B22829
triadic
#B2286E #6EB228 #286EB2
tetradic
#B2286E #B2B128 #28B26C #2829B2
square
#B2286E #B2B128 #28B26C #2829B2
split-complementary
#B2286E #29B228 #28B2B1
monochromatic
#4E1230 #801D4F #B2286E #D5438D #E075AB
Accessibility & contrast
On white
6.14
#B2286E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#B2286E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B2286E
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2286E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B2286E | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#445170
Deuteranopia (green-blind)
#6B6B6B
Tritanopia (blue-blind)
#C01648
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b2286e; /* rgb */ color: rgb(178, 40, 110); /* oklch */ color: oklch(51.9% 0.183 354.9);
Tailwind
colors: {
custom: {
50: '#ce7097',
500: '#b2286e',
950: '#000000',
},
}SCSS
$custom: #b2286e; $custom-light: #ce7097; $custom-dark: #000000;
JSON
{
"hex": "#b2286e",
"rgb": {
"r": 178,
"g": 40,
"b": 110
},
"hsl": {
"h": 329.565,
"s": 63.303,
"l": 42.745
},
"oklch": {
"l": 0.51891,
"c": 0.18298,
"h": 354.9
},
"luminance": 0.12108
}Semantic roles & 50–950 ramp
primary
#B2286E
secondary
#6FC79A
accent
#E69341
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E