#CF5A8A#CF5A8A
#CF5A8A is a light, vivid pink. Relative luminance 0.224; OKLCH L 62.8% C 0.156 H 356.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #CF5A8A |
|---|---|
| RGB | rgb(207, 90, 138) |
| HSL | hsl(335, 55%, 58%) |
| HSV | hsv(335, 57%, 81%) |
| CMYK | cmyk(0%, 56.5%, 33.3%, 18.8%) |
| CIE-LAB | lab(54.47, 51.13, -3.50) |
| CIE-LCH | lch(54.47, 51.25, 356.09°) |
| OKLab | oklab(62.78% 0.1556 -0.0085) |
| OKLCH | oklch(62.78% 0.156 356.9) |
| XYZ | xyz(33.9774, 22.4161, 26.5772) |
| Luminance | 0.2241 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.27
Blush
#DE5D83
ΔE00 4.77
Palevioletred
#DB7093
ΔE00 6.14
Medium Pink
#F36196
ΔE00 7.18
Muted Pink
#D1768F
ΔE00 7.43
Pale Magenta
#D767AD
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF5A8A #5ACF9F
analogous
#CF5AC4 #CF5A8A #CF645A
triadic
#CF5A8A #8ACF5A #5A8ACF
tetradic
#CF5A8A #C4CF5A #5ACF9F #645ACF
square
#CF5A8A #C4CF5A #5ACF9F #645ACF
split-complementary
#CF5A8A #5ACF64 #5AC4CF
monochromatic
#87274F #B7356A #CF5A8A #DD89AC #EBB9CD
Accessibility & contrast
On white
3.83
#CF5A8A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#CF5A8A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF5A8A
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF5A8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF5A8A | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C758B
Deuteranopia (green-blind)
#8B8A87
Tritanopia (blue-blind)
#DE526C
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #cf5a8a; /* rgb */ color: rgb(207, 90, 138); /* oklch */ color: oklch(62.8% 0.156 356.9);
Tailwind
colors: {
custom: {
50: '#e18dac',
500: '#cf5a8a',
950: '#000000',
},
}SCSS
$custom: #cf5a8a; $custom-light: #e18dac; $custom-dark: #000000;
JSON
{
"hex": "#cf5a8a",
"rgb": {
"r": 207,
"g": 90,
"b": 138
},
"hsl": {
"h": 335.385,
"s": 54.93,
"l": 58.235
},
"oklch": {
"l": 0.62778,
"c": 0.15585,
"h": 356.9
},
"luminance": 0.22413
}Semantic roles & 50–950 ramp
primary
#CF5A8A
secondary
#ABDAC7
accent
#DEA14A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160D10
muted
#847D7F