#B2286F#B2286F
#B2286F is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.183 H 354.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B2286F |
|---|---|
| RGB | rgb(178, 40, 111) |
| HSL | hsl(329, 63%, 43%) |
| HSV | hsv(329, 78%, 70%) |
| CMYK | cmyk(0%, 77.5%, 37.6%, 30.2%) |
| CIE-LAB | lab(41.43, 59.42, -7.01) |
| CIE-LCH | lch(41.43, 59.83, 353.27°) |
| OKLab | oklab(51.93% 0.1826 -0.0178) |
| OKLCH | oklch(51.93% 0.183 354.4) |
| XYZ | xyz(21.9896, 12.1330, 16.2198) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.27
Mediumvioletred
#C71585
ΔE00 5.11
Deep Magenta
#A0025C
ΔE00 5.90
Violet Red
#A50055
ΔE00 6.20
Deep Pink
#CB0162
ΔE00 6.33
Dark Fuchsia
#9D0759
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2286F #28B26B
analogous
#B028B2 #B2286F #B2282A
triadic
#B2286F #6FB228 #286FB2
tetradic
#B2286F #B2B028 #28B26B #282AB2
square
#B2286F #B2B028 #28B26B #282AB2
split-complementary
#B2286F #2AB228 #28B2B0
monochromatic
#4E1231 #801D50 #B2286F #D5438E #E075AC
Accessibility & contrast
On white
6.13
#B2286F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#B2286F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B2286F
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2286F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B2286F | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#445271
Deuteranopia (green-blind)
#6A6B6C
Tritanopia (blue-blind)
#C01748
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b2286f; /* rgb */ color: rgb(178, 40, 111); /* oklch */ color: oklch(51.9% 0.183 354.4);
Tailwind
colors: {
custom: {
50: '#ce7098',
500: '#b2286f',
950: '#000000',
},
}SCSS
$custom: #b2286f; $custom-light: #ce7098; $custom-dark: #000000;
JSON
{
"hex": "#b2286f",
"rgb": {
"r": 178,
"g": 40,
"b": 111
},
"hsl": {
"h": 329.13,
"s": 63.303,
"l": 42.745
},
"oklch": {
"l": 0.51927,
"c": 0.18341,
"h": 354.4
},
"luminance": 0.1213
}Semantic roles & 50–950 ramp
primary
#B2286F
secondary
#6FC79A
accent
#E69241
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E