#B2387F#B2387F
#B2387F is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.0% C 0.173 H 348.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B2387F |
|---|---|
| RGB | rgb(178, 56, 127) |
| HSL | hsl(325, 52%, 46%) |
| HSV | hsv(325, 69%, 70%) |
| CMYK | cmyk(0%, 68.5%, 28.7%, 30.2%) |
| CIE-LAB | lab(43.99, 55.73, -13.04) |
| CIE-LCH | lch(43.99, 57.24, 346.83°) |
| OKLab | oklab(53.99% 0.1694 -0.0342) |
| OKLCH | oklch(53.99% 0.173 348.6) |
| XYZ | xyz(23.6061, 13.8282, 21.5005) |
| Luminance | 0.1383 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.02
Magenta (survey)
#C20078
ΔE00 4.50
Light Plum
#9D5783
ΔE00 7.31
Purpleish
#98568D
ΔE00 8.29
Red Violet
#9E0168
ΔE00 8.34
Ugly Purple
#A442A0
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2387F #38B26B
analogous
#A838B2 #B2387F #B23842
triadic
#B2387F #7FB238 #387FB2
tetradic
#B2387F #B2A838 #38B26B #3842B2
square
#B2387F #B2A838 #38B26B #3842B2
split-complementary
#B2387F #42B238 #38B2A8
monochromatic
#551B3D #83295E #B2387F #CC5C9D #DA8AB9
Accessibility & contrast
On white
5.58
#B2387F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#B2387F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B2387F
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2387F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B2387F | 1.00 | 5.58 | 3.77 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495A81
Deuteranopia (green-blind)
#6C707C
Tritanopia (blue-blind)
#BF3356
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #b2387f; /* rgb */ color: rgb(178, 56, 127); /* oklch */ color: oklch(54.0% 0.173 348.6);
Tailwind
colors: {
custom: {
50: '#cd78a4',
500: '#b2387f',
950: '#000000',
},
}SCSS
$custom: #b2387f; $custom-light: #cd78a4; $custom-dark: #000000;
JSON
{
"hex": "#b2387f",
"rgb": {
"r": 178,
"g": 56,
"b": 127
},
"hsl": {
"h": 325.082,
"s": 52.137,
"l": 45.882
},
"oklch": {
"l": 0.53991,
"c": 0.17284,
"h": 348.6
},
"luminance": 0.13826
}Semantic roles & 50–950 ramp
primary
#B2387F
secondary
#81C59D
accent
#DC884C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#14090F
muted
#837B7F