#CB428E#CB428E
#CB428E is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.5% C 0.188 H 350.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CB428E |
|---|---|
| RGB | rgb(203, 66, 142) |
| HSL | hsl(327, 57%, 53%) |
| HSV | hsv(327, 67%, 80%) |
| CMYK | cmyk(0%, 67.5%, 30%, 20.4%) |
| CIE-LAB | lab(50.16, 60.72, -12.37) |
| CIE-LCH | lch(50.16, 61.96, 348.48°) |
| OKLab | oklab(59.51% 0.1849 -0.0322) |
| OKLCH | oklch(59.51% 0.188 350.1) |
| XYZ | xyz(31.4608, 18.5494, 27.5095) |
| Luminance | 0.1855 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.92
Darkish Pink
#DA467D
ΔE00 6.72
Purplish Pink
#CE5DAE
ΔE00 7.60
Magenta (survey)
#C20078
ΔE00 7.91
Neon Pink
#FE019A
ΔE00 8.10
Shocking Pink
#FE02A2
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB428E #42CB7F
analogous
#C342CB #CB428E #CB424A
triadic
#CB428E #8ECB42 #428ECB
tetradic
#CB428E #CBC342 #42CB7F #424ACB
square
#CB428E #CBC342 #42CB7F #424ACB
split-complementary
#CB428E #4ACB42 #42CBC3
monochromatic
#73204E #A32D6E #CB428E #D872AB #E5A2C7
Accessibility & contrast
On white
4.46
#CB428E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#CB428E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB428E
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB428E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB428E | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#566890
Deuteranopia (green-blind)
#7D808B
Tritanopia (blue-blind)
#D93B62
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cb428e; /* rgb */ color: rgb(203, 66, 142); /* oklch */ color: oklch(59.5% 0.188 350.1);
Tailwind
colors: {
custom: {
50: '#df80af',
500: '#cb428e',
950: '#000000',
},
}SCSS
$custom: #cb428e; $custom-light: #df80af; $custom-dark: #000000;
JSON
{
"hex": "#cb428e",
"rgb": {
"r": 203,
"g": 66,
"b": 142
},
"hsl": {
"h": 326.715,
"s": 56.846,
"l": 52.745
},
"oklch": {
"l": 0.59505,
"c": 0.18773,
"h": 350.1
},
"luminance": 0.18546
}Semantic roles & 50–950 ramp
primary
#CB428E
secondary
#97D2B1
accent
#E08C48
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F