#CF428C#CF428C
#CF428C is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.1% C 0.190 H 352.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CF428C |
|---|---|
| RGB | rgb(207, 66, 140) |
| HSL | hsl(329, 59%, 54%) |
| HSV | hsv(329, 68%, 81%) |
| CMYK | cmyk(0%, 68.1%, 32.4%, 18.8%) |
| CIE-LAB | lab(50.76, 61.59, -10.21) |
| CIE-LCH | lch(50.76, 62.43, 350.59°) |
| OKLab | oklab(60.05% 0.1881 -0.0263) |
| OKLCH | oklch(60.05% 0.19 352) |
| XYZ | xyz(32.4157, 19.0589, 26.7775) |
| Luminance | 0.1905 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 5.62
Mediumvioletred
#C71585
ΔE00 6.54
Neon Pink
#FE019A
ΔE00 7.39
Shocking Pink
#FE02A2
ΔE00 7.67
Electric Pink
#FF0490
ΔE00 7.71
Deeppink
#FF1493
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF428C #42CF85
analogous
#CC42CF #CF428C #CF4245
triadic
#CF428C #8CCF42 #428CCF
tetradic
#CF428C #CFCC42 #42CF85 #4245CF
square
#CF428C #CFCC42 #42CF85 #4245CF
split-complementary
#CF428C #45CF42 #42CFCC
monochromatic
#781F4E #A92B6D #CF428C #DB73AA #E8A4C7
Accessibility & contrast
On white
4.36
#CF428C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#CF428C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF428C
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF428C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF428C | 1.00 | 4.36 | 4.81 | 4.81 |
| #FFFFFF | 4.36 | 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)
#58698E
Deuteranopia (green-blind)
#808289
Tritanopia (blue-blind)
#DE3961
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #cf428c; /* rgb */ color: rgb(207, 66, 140); /* oklch */ color: oklch(60.1% 0.190 352.0);
Tailwind
colors: {
custom: {
50: '#e280ad',
500: '#cf428c',
950: '#000000',
},
}SCSS
$custom: #cf428c; $custom-light: #e280ad; $custom-dark: #000000;
JSON
{
"hex": "#cf428c",
"rgb": {
"r": 207,
"g": 66,
"b": 140
},
"hsl": {
"h": 328.511,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.6005,
"c": 0.18994,
"h": 352
},
"luminance": 0.19055
}Semantic roles & 50–950 ramp
primary
#CF428C
secondary
#98D5B5
accent
#E39045
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F