#CF3AAF#CF3AAF
#CF3AAF is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.8% C 0.220 H 338.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CF3AAF |
|---|---|
| RGB | rgb(207, 58, 175) |
| HSL | hsl(313, 61%, 52%) |
| HSV | hsv(313, 72%, 81%) |
| CMYK | cmyk(0%, 72%, 15.5%, 18.8%) |
| CIE-LAB | lab(51.14, 68.93, -30.35) |
| CIE-LCH | lch(51.14, 75.31, 336.24°) |
| OKLab | oklab(60.79% 0.2038 -0.0823) |
| OKLCH | oklch(60.79% 0.22 338) |
| XYZ | xyz(34.9838, 19.3899, 42.4493) |
| Luminance | 0.1939 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.57
Pinky Purple
#C94CBE
ΔE00 3.75
Purpleish Pink
#DF4EC8
ΔE00 6.19
Hot Magenta
#F504C9
ΔE00 6.35
Purplish Pink
#CE5DAE
ΔE00 6.39
Pinkish Purple
#D648D7
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF3AAF #3ACF5A
analogous
#A53ACF #CF3AAF #CF3A65
triadic
#CF3AAF #AFCF3A #3AAFCF
tetradic
#CF3AAF #CFA53A #3ACF5A #3A65CF
square
#CF3AAF #CFA53A #3ACF5A #3A65CF
split-complementary
#CF3AAF #65CF3A #3ACFA5
monochromatic
#731C60 #A42889 #CF3AAF #DB6BC3 #E79CD7
Accessibility & contrast
On white
4.31
#CF3AAF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#CF3AAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF3AAF
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF3AAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF3AAF | 1.00 | 4.31 | 4.88 | 4.88 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#406BB2
Deuteranopia (green-blind)
#7282AB
Tritanopia (blue-blind)
#DA4270
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cf3aaf; /* rgb */ color: rgb(207, 58, 175); /* oklch */ color: oklch(60.8% 0.220 338.0);
Tailwind
colors: {
custom: {
50: '#e27ec7',
500: '#cf3aaf',
950: '#000000',
},
}SCSS
$custom: #cf3aaf; $custom-light: #e27ec7; $custom-dark: #000000;
JSON
{
"hex": "#cf3aaf",
"rgb": {
"r": 207,
"g": 58,
"b": 175
},
"hsl": {
"h": 312.886,
"s": 60.816,
"l": 51.961
},
"oklch": {
"l": 0.60787,
"c": 0.21983,
"h": 338
},
"luminance": 0.19387
}Semantic roles & 50–950 ramp
primary
#CF3AAF
secondary
#92D3A0
accent
#E46644
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82