#CB2EAC#CB2EAC
#CB2EAC is a mid, highly saturated pink. Relative luminance 0.176; OKLCH L 59.1% C 0.228 H 337.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #CB2EAC |
|---|---|
| RGB | rgb(203, 46, 172) |
| HSL | hsl(312, 63%, 49%) |
| HSV | hsv(312, 77%, 80%) |
| CMYK | cmyk(0%, 77.3%, 15.3%, 20.4%) |
| CIE-LAB | lab(49.05, 71.23, -31.90) |
| CIE-LCH | lch(49.05, 78.05, 335.87°) |
| OKLab | oklab(59.1% 0.2107 -0.0867) |
| OKLCH | oklch(59.1% 0.228 337.6) |
| XYZ | xyz(33.0527, 17.6322, 40.6844) |
| Luminance | 0.1763 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.85
Pinky Purple
#C94CBE
ΔE00 5.25
Ugly Purple
#A442A0
ΔE00 6.85
Mediumvioletred
#C71585
ΔE00 7.44
Hot Magenta
#F504C9
ΔE00 7.70
Purple Pink
#D725DE
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB2EAC #2ECB4D
analogous
#9C2ECB #CB2EAC #CB2E5E
triadic
#CB2EAC #ACCB2E #2EACCB
tetradic
#CB2EAC #CB9C2E #2ECB4D #2E5ECB
square
#CB2EAC #CB9C2E #2ECB4D #2E5ECB
split-complementary
#CB2EAC #5ECB2E #2ECB9C
monochromatic
#671757 #992382 #CB2EAC #DA5CC1 #E58ED4
Accessibility & contrast
On white
4.64
#CB2EAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#CB2EAC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #CB2EAC
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB2EAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CB2EAC | 1.00 | 4.64 | 4.53 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3565AF
Deuteranopia (green-blind)
#6C7DA8
Tritanopia (blue-blind)
#D6386B
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #cb2eac; /* rgb */ color: rgb(203, 46, 172); /* oklch */ color: oklch(59.1% 0.228 337.6);
Tailwind
colors: {
custom: {
50: '#df78c5',
500: '#cb2eac',
950: '#000000',
},
}SCSS
$custom: #cb2eac; $custom-light: #df78c5; $custom-dark: #000000;
JSON
{
"hex": "#cb2eac",
"rgb": {
"r": 203,
"g": 46,
"b": 172
},
"hsl": {
"h": 311.847,
"s": 63.052,
"l": 48.824
},
"oklch": {
"l": 0.59104,
"c": 0.22783,
"h": 337.6
},
"luminance": 0.17629
}Semantic roles & 50–950 ramp
primary
#CB2EAC
secondary
#85D094
accent
#E66242
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82