#CB438E#CB438E
#CB438E is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.6% C 0.186 H 350.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CB438E |
|---|---|
| RGB | rgb(203, 67, 142) |
| HSL | hsl(327, 57%, 53%) |
| HSV | hsv(327, 67%, 80%) |
| CMYK | cmyk(0%, 67%, 30%, 20.4%) |
| CIE-LAB | lab(50.30, 60.33, -12.16) |
| CIE-LCH | lch(50.30, 61.54, 348.60°) |
| OKLab | oklab(59.61% 0.1837 -0.0317) |
| OKLCH | oklch(59.61% 0.186 350.2) |
| XYZ | xyz(31.5198, 18.6672, 27.5291) |
| Luminance | 0.1866 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 6.10
Darkish Pink
#DA467D
ΔE00 6.61
Purplish Pink
#CE5DAE
ΔE00 7.51
Magenta (survey)
#C20078
ΔE00 8.07
Neon Pink
#FE019A
ΔE00 8.07
Shocking Pink
#FE02A2
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB438E #43CB80
analogous
#C443CB #CB438E #CB434A
triadic
#CB438E #8ECB43 #438ECB
tetradic
#CB438E #CBC443 #43CB80 #434ACB
square
#CB438E #CBC443 #43CB80 #434ACB
split-complementary
#CB438E #4ACB43 #43CBC4
monochromatic
#74204E #A42D6E #CB438E #D873AB #E6A3C8
Accessibility & contrast
On white
4.44
#CB438E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#CB438E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB438E
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB438E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB438E | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#576890
Deuteranopia (green-blind)
#7D818B
Tritanopia (blue-blind)
#D93C63
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cb438e; /* rgb */ color: rgb(203, 67, 142); /* oklch */ color: oklch(59.6% 0.186 350.2);
Tailwind
colors: {
custom: {
50: '#df80af',
500: '#cb438e',
950: '#000000',
},
}SCSS
$custom: #cb438e; $custom-light: #df80af; $custom-dark: #000000;
JSON
{
"hex": "#cb438e",
"rgb": {
"r": 203,
"g": 67,
"b": 142
},
"hsl": {
"h": 326.912,
"s": 56.667,
"l": 52.941
},
"oklch": {
"l": 0.59608,
"c": 0.18645,
"h": 350.2
},
"luminance": 0.18664
}Semantic roles & 50–950 ramp
primary
#CB438E
secondary
#98D2B2
accent
#E08C48
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F