#CF4A8B#CF4A8B
#CF4A8B is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.9% C 0.179 H 353.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4A8B |
|---|---|
| RGB | rgb(207, 74, 139) |
| HSL | hsl(331, 58%, 55%) |
| HSV | hsv(331, 64%, 81%) |
| CMYK | cmyk(0%, 64.3%, 32.9%, 18.8%) |
| CIE-LAB | lab(51.87, 58.31, -7.94) |
| CIE-LCH | lch(51.87, 58.85, 352.25°) |
| OKLab | oklab(60.86% 0.1779 -0.0203) |
| OKLCH | oklch(60.86% 0.179 353.5) |
| XYZ | xyz(32.8428, 20.0306, 26.5578) |
| Luminance | 0.2003 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.59
Neon Pink
#FE019A
ΔE00 7.47
Dark Pink
#CB416B
ΔE00 7.49
Deeppink
#FF1493
ΔE00 7.52
Electric Pink
#FF0490
ΔE00 7.54
Hot Pink (survey)
#FF028D
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4A8B #4ACF8E
analogous
#CF4ACD #CF4A8B #CF4C4A
triadic
#CF4A8B #8BCF4A #4A8BCF
tetradic
#CF4A8B #CDCF4A #4ACF8E #4C4ACF
square
#CF4A8B #CDCF4A #4ACF8E #4C4ACF
split-complementary
#CF4A8B #4ACF4C #4ACDCF
monochromatic
#7D214E #AE2E6C #CF4A8B #DC7AAA #E9ABC9
Accessibility & contrast
On white
4.20
#CF4A8B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#CF4A8B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4A8B
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4A8B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4A8B | 1.00 | 4.20 | 5.01 | 5.01 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F6C8D
Deuteranopia (green-blind)
#848588
Tritanopia (blue-blind)
#DE4164
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #cf4a8b; /* rgb */ color: rgb(207, 74, 139); /* oklch */ color: oklch(60.9% 0.179 353.5);
Tailwind
colors: {
custom: {
50: '#e284ac',
500: '#cf4a8b',
950: '#000000',
},
}SCSS
$custom: #cf4a8b; $custom-light: #e284ac; $custom-dark: #000000;
JSON
{
"hex": "#cf4a8b",
"rgb": {
"r": 207,
"g": 74,
"b": 139
},
"hsl": {
"h": 330.677,
"s": 58.079,
"l": 55.098
},
"oklch": {
"l": 0.60862,
"c": 0.17908,
"h": 353.5
},
"luminance": 0.20027
}Semantic roles & 50–950 ramp
primary
#CF4A8B
secondary
#9FD6BB
accent
#E19646
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F