#CF4FAF#CF4FAF
#CF4FAF is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.9% C 0.193 H 338.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4FAF |
|---|---|
| RGB | rgb(207, 79, 175) |
| HSL | hsl(315, 57%, 56%) |
| HSV | hsv(315, 62%, 81%) |
| CMYK | cmyk(0%, 61.8%, 15.5%, 18.8%) |
| CIE-LAB | lab(53.98, 61.02, -25.94) |
| CIE-LCH | lch(53.98, 66.30, 336.97°) |
| OKLab | oklab(62.86% 0.1802 -0.07) |
| OKLCH | oklch(62.86% 0.193 338.8) |
| XYZ | xyz(36.2666, 21.9556, 42.8769) |
| Luminance | 0.2195 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.86
Pinky Purple
#C94CBE
ΔE00 3.70
Purpleish Pink
#DF4EC8
ΔE00 4.55
Purpley Pink
#C83CB9
ΔE00 5.01
Pale Magenta
#D767AD
ΔE00 6.16
Hot Magenta
#F504C9
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4FAF #4FCF6F
analogous
#AF4FCF #CF4FAF #CF4F6F
triadic
#CF4FAF #AFCF4F #4FAFCF
tetradic
#CF4FAF #CFAF4F #4FCF6F #4F6FCF
square
#CF4FAF #CFAF4F #4FCF6F #4F6FCF
split-complementary
#CF4FAF #6FCF4F #4FCFAF
monochromatic
#812369 #B13091 #CF4FAF #DC7FC5 #E9AFDB
Accessibility & contrast
On white
3.90
#CF4FAF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#CF4FAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4FAF
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4FAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4FAF | 1.00 | 3.90 | 5.39 | 5.39 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5474B2
Deuteranopia (green-blind)
#7B88AC
Tritanopia (blue-blind)
#DA5378
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #cf4faf; /* rgb */ color: rgb(207, 79, 175); /* oklch */ color: oklch(62.9% 0.193 338.8);
Tailwind
colors: {
custom: {
50: '#e188c7',
500: '#cf4faf',
950: '#000000',
},
}SCSS
$custom: #cf4faf; $custom-light: #e188c7; $custom-dark: #000000;
JSON
{
"hex": "#cf4faf",
"rgb": {
"r": 207,
"g": 79,
"b": 175
},
"hsl": {
"h": 315,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.62855,
"c": 0.19327,
"h": 338.8
},
"luminance": 0.21953
}Semantic roles & 50–950 ramp
primary
#CF4FAF
secondary
#A2D7B0
accent
#E06E47
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82