#CF45AF#CF45AF
#CF45AF is a mid, highly saturated pink. Relative luminance 0.206; OKLCH L 61.8% C 0.207 H 338.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #CF45AF |
|---|---|
| RGB | rgb(207, 69, 175) |
| HSL | hsl(314, 59%, 54%) |
| HSV | hsv(314, 67%, 81%) |
| CMYK | cmyk(0%, 66.7%, 15.5%, 18.8%) |
| CIE-LAB | lab(52.53, 65.02, -28.18) |
| CIE-LCH | lch(52.53, 70.87, 336.57°) |
| OKLab | oklab(61.8% 0.1921 -0.0763) |
| OKLCH | oklch(61.8% 0.207 338.3) |
| XYZ | xyz(35.5988, 20.6200, 42.6543) |
| Luminance | 0.2062 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 3.27
Purpley Pink
#C83CB9
ΔE00 3.53
Purplish Pink
#CE5DAE
ΔE00 4.66
Purpleish Pink
#DF4EC8
ΔE00 5.13
Hot Magenta
#F504C9
ΔE00 6.31
Pinkish Purple
#D648D7
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF45AF #45CF65
analogous
#AA45CF #CF45AF #CF456A
triadic
#CF45AF #AFCF45 #45AFCF
tetradic
#CF45AF #CFAA45 #45CF65 #456ACF
square
#CF45AF #CFAA45 #45CF65 #456ACF
split-complementary
#CF45AF #6ACF45 #45CFAA
monochromatic
#7A2065 #AB2C8D #CF45AF #DC76C4 #E8A6D9
Accessibility & contrast
On white
4.10
#CF45AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#CF45AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF45AF
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF45AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF45AF | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B70B2
Deuteranopia (green-blind)
#7685AC
Tritanopia (blue-blind)
#DA4B74
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #cf45af; /* rgb */ color: rgb(207, 69, 175); /* oklch */ color: oklch(61.8% 0.207 338.3);
Tailwind
colors: {
custom: {
50: '#e183c7',
500: '#cf45af',
950: '#000000',
},
}SCSS
$custom: #cf45af; $custom-light: #e183c7; $custom-dark: #000000;
JSON
{
"hex": "#cf45af",
"rgb": {
"r": 207,
"g": 69,
"b": 175
},
"hsl": {
"h": 313.913,
"s": 58.974,
"l": 54.118
},
"oklch": {
"l": 0.61796,
"c": 0.20671,
"h": 338.3
},
"luminance": 0.20617
}Semantic roles & 50–950 ramp
primary
#CF45AF
secondary
#9BD5A8
accent
#E26A46
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82