#CF3FAF#CF3FAF
#CF3FAF is a mid, highly saturated pink. Relative luminance 0.199; OKLCH L 61.2% C 0.214 H 338.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #CF3FAF |
|---|---|
| RGB | rgb(207, 63, 175) |
| HSL | hsl(313, 60%, 53%) |
| HSV | hsv(313, 70%, 81%) |
| CMYK | cmyk(0%, 69.6%, 15.5%, 18.8%) |
| CIE-LAB | lab(51.75, 67.22, -29.40) |
| CIE-LCH | lch(51.75, 73.37, 336.37°) |
| OKLab | oklab(61.22% 0.1987 -0.0797) |
| OKLCH | oklch(61.22% 0.214 338.1) |
| XYZ | xyz(35.2482, 19.9188, 42.5375) |
| Luminance | 0.1992 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.90
Pinky Purple
#C94CBE
ΔE00 3.44
Purplish Pink
#CE5DAE
ΔE00 5.64
Purpleish Pink
#DF4EC8
ΔE00 5.69
Hot Magenta
#F504C9
ΔE00 6.27
Pinkish Purple
#D648D7
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF3FAF #3FCF5F
analogous
#A73FCF #CF3FAF #CF3F67
triadic
#CF3FAF #AFCF3F #3FAFCF
tetradic
#CF3FAF #CFA73F #3FCF5F #3F67CF
square
#CF3FAF #CFA73F #3FCF5F #3F67CF
split-complementary
#CF3FAF #67CF3F #3FCFA7
monochromatic
#761E62 #A72A8B #CF3FAF #DB70C3 #E7A1D8
Accessibility & contrast
On white
4.21
#CF3FAF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#CF3FAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF3FAF
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF3FAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF3FAF | 1.00 | 4.21 | 4.98 | 4.98 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#456DB2
Deuteranopia (green-blind)
#7483AC
Tritanopia (blue-blind)
#DA4672
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cf3faf; /* rgb */ color: rgb(207, 63, 175); /* oklch */ color: oklch(61.2% 0.214 338.1);
Tailwind
colors: {
custom: {
50: '#e180c7',
500: '#cf3faf',
950: '#000000',
},
}SCSS
$custom: #cf3faf; $custom-light: #e180c7; $custom-dark: #000000;
JSON
{
"hex": "#cf3faf",
"rgb": {
"r": 207,
"g": 63,
"b": 175
},
"hsl": {
"h": 313.333,
"s": 60,
"l": 52.941
},
"oklch": {
"l": 0.61225,
"c": 0.21409,
"h": 338.1
},
"luminance": 0.19916
}Semantic roles & 50–950 ramp
primary
#CF3FAF
secondary
#96D4A4
accent
#E36845
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82