#B24CA1#B24CA1
#B24CA1 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.8% C 0.167 H 334.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #B24CA1 |
|---|---|
| RGB | rgb(178, 76, 161) |
| HSL | hsl(310, 40%, 50%) |
| HSV | hsv(310, 57%, 70%) |
| CMYK | cmyk(0%, 57.3%, 9.6%, 30.2%) |
| CIE-LAB | lab(48.52, 52.10, -26.53) |
| CIE-LCH | lch(48.52, 58.46, 333.02°) |
| OKLab | oklab(57.78% 0.1507 -0.0721) |
| OKLCH | oklch(57.78% 0.167 334.4) |
| XYZ | xyz(27.3777, 17.2091, 35.5910) |
| Luminance | 0.1721 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.36
Purpley Pink
#C83CB9
ΔE00 5.22
Medium Purple
#9E43A2
ΔE00 5.54
Pinky Purple
#C94CBE
ΔE00 6.07
Purpleish
#98568D
ΔE00 6.21
Purplish
#94568C
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B24CA1 #4CB25D
analogous
#904CB2 #B24CA1 #B24C6E
triadic
#B24CA1 #A1B24C #4CA1B2
tetradic
#B24CA1 #B2904C #4CB25D #4C6EB2
square
#B24CA1 #B2904C #4CB25D #4C6EB2
split-complementary
#B24CA1 #6EB24C #4CB290
monochromatic
#5C2753 #873A7A #B24CA1 #C576B8 #D7A1CE
Accessibility & contrast
On white
4.73
#B24CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#B24CA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B24CA1
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B24CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B24CA1 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B6AA4
Deuteranopia (green-blind)
#6A799E
Tritanopia (blue-blind)
#BA526F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #b24ca1; /* rgb */ color: rgb(178, 76, 161); /* oklch */ color: oklch(57.8% 0.167 334.4);
Tailwind
colors: {
custom: {
50: '#cc83bd',
500: '#b24ca1',
950: '#000000',
},
}SCSS
$custom: #b24ca1; $custom-light: #cc83bd; $custom-dark: #000000;
JSON
{
"hex": "#b24ca1",
"rgb": {
"r": 178,
"g": 76,
"b": 161
},
"hsl": {
"h": 310,
"s": 40.157,
"l": 49.804
},
"oklch": {
"l": 0.57781,
"c": 0.16708,
"h": 334.4
},
"luminance": 0.17207
}Semantic roles & 50–950 ramp
primary
#B24CA1
secondary
#96C49E
accent
#D06C58
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81