#CF45A4#CF45A4
#CF45A4 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.3% C 0.199 H 342.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #CF45A4 |
|---|---|
| RGB | rgb(207, 69, 164) |
| HSL | hsl(319, 59%, 54%) |
| HSV | hsv(319, 67%, 81%) |
| CMYK | cmyk(0%, 66.7%, 20.8%, 18.8%) |
| CIE-LAB | lab(52.07, 63.48, -22.45) |
| CIE-LCH | lch(52.07, 67.34, 340.52°) |
| OKLab | oklab(61.31% 0.1902 -0.0601) |
| OKLCH | oklch(61.31% 0.199 342.5) |
| XYZ | xyz(34.5621, 20.2053, 37.1946) |
| Luminance | 0.2020 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.65
Purpley Pink
#C83CB9
ΔE00 5.31
Pinky Purple
#C94CBE
ΔE00 5.34
Purpleish Pink
#DF4EC8
ΔE00 6.68
Bright Pink
#FE01B1
ΔE00 7.15
Pale Magenta
#D767AD
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF45A4 #45CF70
analogous
#B545CF #CF45A4 #CF455F
triadic
#CF45A4 #A4CF45 #45A4CF
tetradic
#CF45A4 #CFB545 #45CF70 #455FCF
square
#CF45A4 #CFB545 #45CF70 #455FCF
split-complementary
#CF45A4 #5FCF45 #45CFB5
monochromatic
#7A205E #AB2C83 #CF45A4 #DC76BC #E8A6D4
Accessibility & contrast
On white
4.17
#CF45A4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#CF45A4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF45A4
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF45A4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF45A4 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#516EA7
Deuteranopia (green-blind)
#7A84A1
Tritanopia (blue-blind)
#DC466E
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #cf45a4; /* rgb */ color: rgb(207, 69, 164); /* oklch */ color: oklch(61.3% 0.199 342.5);
Tailwind
colors: {
custom: {
50: '#e182bf',
500: '#cf45a4',
950: '#000000',
},
}SCSS
$custom: #cf45a4; $custom-light: #e182bf; $custom-dark: #000000;
JSON
{
"hex": "#cf45a4",
"rgb": {
"r": 207,
"g": 69,
"b": 164
},
"hsl": {
"h": 318.696,
"s": 58.974,
"l": 54.118
},
"oklch": {
"l": 0.61308,
"c": 0.19949,
"h": 342.5
},
"luminance": 0.20202
}Semantic roles & 50–950 ramp
primary
#CF45A4
secondary
#9BD5AD
accent
#E27646
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160B12
muted
#847C81