#CF45A1#CF45A1
#CF45A1 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.2% C 0.198 H 343.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #CF45A1 |
|---|---|
| RGB | rgb(207, 69, 161) |
| HSL | hsl(320, 59%, 54%) |
| HSV | hsv(320, 67%, 81%) |
| CMYK | cmyk(0%, 66.7%, 22.2%, 18.8%) |
| CIE-LAB | lab(51.95, 63.08, -20.87) |
| CIE-LCH | lch(51.95, 66.44, 341.69°) |
| OKLab | oklab(61.18% 0.1896 -0.0557) |
| OKLCH | oklch(61.18% 0.198 343.6) |
| XYZ | xyz(34.2944, 20.0982, 35.7845) |
| Luminance | 0.2009 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.82
Purpley Pink
#C83CB9
ΔE00 5.86
Pinky Purple
#C94CBE
ΔE00 5.94
Purpleish Pink
#DF4EC8
ΔE00 7.16
Bright Pink
#FE01B1
ΔE00 7.20
Pale Magenta
#D767AD
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF45A1 #45CF73
analogous
#B845CF #CF45A1 #CF455C
triadic
#CF45A1 #A1CF45 #45A1CF
tetradic
#CF45A1 #CFB845 #45CF73 #455CCF
square
#CF45A1 #CFB845 #45CF73 #455CCF
split-complementary
#CF45A1 #5CCF45 #45CFB8
monochromatic
#7A205C #AB2C81 #CF45A1 #DC76BA #E8A6D2
Accessibility & contrast
On white
4.18
#CF45A1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#CF45A1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF45A1
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF45A1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF45A1 | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#526DA4
Deuteranopia (green-blind)
#7B849E
Tritanopia (blue-blind)
#DC456D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #cf45a1; /* rgb */ color: rgb(207, 69, 161); /* oklch */ color: oklch(61.2% 0.198 343.6);
Tailwind
colors: {
custom: {
50: '#e182bd',
500: '#cf45a1',
950: '#000000',
},
}SCSS
$custom: #cf45a1; $custom-light: #e182bd; $custom-dark: #000000;
JSON
{
"hex": "#cf45a1",
"rgb": {
"r": 207,
"g": 69,
"b": 161
},
"hsl": {
"h": 320,
"s": 58.974,
"l": 54.118
},
"oklch": {
"l": 0.6118,
"c": 0.19762,
"h": 343.6
},
"luminance": 0.20095
}Semantic roles & 50–950 ramp
primary
#CF45A1
secondary
#9BD5AE
accent
#E27A46
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160B12
muted
#847C81