#CF428B#CF428B
#CF428B is a mid, vivid pink. Relative luminance 0.190; OKLCH L 60.0% C 0.189 H 352.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CF428B |
|---|---|
| RGB | rgb(207, 66, 139) |
| HSL | hsl(329, 59%, 54%) |
| HSV | hsv(329, 68%, 81%) |
| CMYK | cmyk(0%, 68.1%, 32.9%, 18.8%) |
| CIE-LAB | lab(50.72, 61.48, -9.66) |
| CIE-LCH | lch(50.72, 62.23, 351.07°) |
| OKLab | oklab(60.01% 0.1878 -0.0248) |
| OKLCH | oklch(60.01% 0.189 352.5) |
| XYZ | xyz(32.3423, 19.0296, 26.3909) |
| Luminance | 0.1903 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 5.42
Mediumvioletred
#C71585
ΔE00 6.58
Neon Pink
#FE019A
ΔE00 7.42
Electric Pink
#FF0490
ΔE00 7.67
Deeppink
#FF1493
ΔE00 7.72
Shocking Pink
#FE02A2
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF428B #42CF86
analogous
#CC42CF #CF428B #CF4244
triadic
#CF428B #8BCF42 #428BCF
tetradic
#CF428B #CFCC42 #42CF86 #4244CF
square
#CF428B #CFCC42 #42CF86 #4244CF
split-complementary
#CF428B #44CF42 #42CFCC
monochromatic
#781F4D #A92B6C #CF428B #DB73A9 #E8A4C7
Accessibility & contrast
On white
4.37
#CF428B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#CF428B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF428B
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF428B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF428B | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#59698D
Deuteranopia (green-blind)
#808288
Tritanopia (blue-blind)
#DE3861
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #cf428b; /* rgb */ color: rgb(207, 66, 139); /* oklch */ color: oklch(60.0% 0.189 352.5);
Tailwind
colors: {
custom: {
50: '#e280ac',
500: '#cf428b',
950: '#000000',
},
}SCSS
$custom: #cf428b; $custom-light: #e280ac; $custom-dark: #000000;
JSON
{
"hex": "#cf428b",
"rgb": {
"r": 207,
"g": 66,
"b": 139
},
"hsl": {
"h": 328.936,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.60014,
"c": 0.18947,
"h": 352.5
},
"luminance": 0.19026
}Semantic roles & 50–950 ramp
primary
#CF428B
secondary
#98D5B5
accent
#E39145
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F