#B24291#B24291
#B24291 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.8% C 0.170 H 341.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #B24291 |
|---|---|
| RGB | rgb(178, 66, 145) |
| HSL | hsl(318, 46%, 48%) |
| HSV | hsv(318, 63%, 70%) |
| CMYK | cmyk(0%, 62.9%, 18.5%, 30.2%) |
| CIE-LAB | lab(46.19, 54.09, -20.59) |
| CIE-LCH | lch(46.19, 57.88, 339.16°) |
| OKLab | oklab(55.84% 0.161 -0.0553) |
| OKLCH | oklch(55.84% 0.17 341.1) |
| XYZ | xyz(25.4198, 15.4080, 28.4178) |
| Luminance | 0.1541 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 5.25
Mediumvioletred
#C71585
ΔE00 5.72
Purpleish
#98568D
ΔE00 6.26
Medium Purple
#9E43A2
ΔE00 6.62
Light Plum
#9D5783
ΔE00 6.74
Purplish
#94568C
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B24291 #42B263
analogous
#9B42B2 #B24291 #B24259
triadic
#B24291 #91B242 #4291B2
tetradic
#B24291 #B29B42 #42B263 #4259B2
square
#B24291 #B29B42 #42B263 #4259B2
split-complementary
#B24291 #59B242 #42B29B
monochromatic
#592148 #85316D #B24291 #C86AAC #D896C5
Accessibility & contrast
On white
5.15
#B24291 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#B24291 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B24291
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B24291 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B24291 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#496293
Deuteranopia (green-blind)
#6B748E
Tritanopia (blue-blind)
#BC4463
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #b24291; /* rgb */ color: rgb(178, 66, 145); /* oklch */ color: oklch(55.8% 0.170 341.1);
Tailwind
colors: {
custom: {
50: '#cc7db1',
500: '#b24291',
950: '#000000',
},
}SCSS
$custom: #b24291; $custom-light: #cc7db1; $custom-dark: #000000;
JSON
{
"hex": "#b24291",
"rgb": {
"r": 178,
"g": 66,
"b": 145
},
"hsl": {
"h": 317.679,
"s": 45.902,
"l": 47.843
},
"oklch": {
"l": 0.55841,
"c": 0.1702,
"h": 341.1
},
"luminance": 0.15406
}Semantic roles & 50–950 ramp
primary
#B24291
secondary
#8CC49C
accent
#D67952
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A10
muted
#827C7F