#CF3AA7#CF3AA7
#CF3AA7 is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.4% C 0.215 H 340.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CF3AA7 |
|---|---|
| RGB | rgb(207, 58, 167) |
| HSL | hsl(316, 61%, 52%) |
| HSV | hsv(316, 72%, 81%) |
| CMYK | cmyk(0%, 72%, 19.3%, 18.8%) |
| CIE-LAB | lab(50.79, 67.83, -26.20) |
| CIE-LCH | lch(50.79, 72.71, 338.88°) |
| OKLab | oklab(60.42% 0.2027 -0.0705) |
| OKLCH | oklch(60.42% 0.215 340.8) |
| XYZ | xyz(34.2212, 19.0849, 38.4332) |
| Luminance | 0.1908 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.96
Pinky Purple
#C94CBE
ΔE00 4.98
Purplish Pink
#CE5DAE
ΔE00 6.27
Purpleish Pink
#DF4EC8
ΔE00 7.04
Hot Magenta
#F504C9
ΔE00 7.07
Mediumvioletred
#C71585
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF3AA7 #3ACF62
analogous
#AC3ACF #CF3AA7 #CF3A5D
triadic
#CF3AA7 #A7CF3A #3AA7CF
tetradic
#CF3AA7 #CFAC3A #3ACF62 #3A5DCF
square
#CF3AA7 #CFAC3A #3ACF62 #3A5DCF
split-complementary
#CF3AA7 #5DCF3A #3ACFAC
monochromatic
#731C5B #A42883 #CF3AA7 #DB6BBD #E79CD3
Accessibility & contrast
On white
4.36
#CF3AA7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#CF3AA7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF3AA7
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF3AA7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF3AA7 | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#466AAA
Deuteranopia (green-blind)
#7582A4
Tritanopia (blue-blind)
#DB3E6C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #cf3aa7; /* rgb */ color: rgb(207, 58, 167); /* oklch */ color: oklch(60.4% 0.215 340.8);
Tailwind
colors: {
custom: {
50: '#e27dc1',
500: '#cf3aa7',
950: '#000000',
},
}SCSS
$custom: #cf3aa7; $custom-light: #e27dc1; $custom-dark: #000000;
JSON
{
"hex": "#cf3aa7",
"rgb": {
"r": 207,
"g": 58,
"b": 167
},
"hsl": {
"h": 316.107,
"s": 60.816,
"l": 51.961
},
"oklch": {
"l": 0.60415,
"c": 0.21465,
"h": 340.8
},
"luminance": 0.19082
}Semantic roles & 50–950 ramp
primary
#CF3AA7
secondary
#92D3A3
accent
#E46F44
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81