#CF45A2#CF45A2
#CF45A2 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.2% C 0.198 H 343.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #CF45A2 |
|---|---|
| RGB | rgb(207, 69, 162) |
| HSL | hsl(320, 59%, 54%) |
| HSV | hsv(320, 67%, 81%) |
| CMYK | cmyk(0%, 66.7%, 21.7%, 18.8%) |
| CIE-LAB | lab(51.99, 63.21, -21.40) |
| CIE-LCH | lch(51.99, 66.74, 341.30°) |
| OKLab | oklab(61.22% 0.1898 -0.0571) |
| OKLCH | oklch(61.22% 0.198 343.2) |
| XYZ | xyz(34.3830, 20.1336, 36.2508) |
| Luminance | 0.2013 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.76
Purpley Pink
#C83CB9
ΔE00 5.68
Pinky Purple
#C94CBE
ΔE00 5.74
Purpleish Pink
#DF4EC8
ΔE00 7.00
Bright Pink
#FE01B1
ΔE00 7.18
Pale Magenta
#D767AD
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF45A2 #45CF72
analogous
#B745CF #CF45A2 #CF455D
triadic
#CF45A2 #A2CF45 #45A2CF
tetradic
#CF45A2 #CFB745 #45CF72 #455DCF
square
#CF45A2 #CFB745 #45CF72 #455DCF
split-complementary
#CF45A2 #5DCF45 #45CFB7
monochromatic
#7A205D #AB2C81 #CF45A2 #DC76BA #E8A6D3
Accessibility & contrast
On white
4.18
#CF45A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#CF45A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF45A2
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF45A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF45A2 | 1.00 | 4.18 | 5.03 | 5.03 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#526DA5
Deuteranopia (green-blind)
#7B849F
Tritanopia (blue-blind)
#DC456D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #cf45a2; /* rgb */ color: rgb(207, 69, 162); /* oklch */ color: oklch(61.2% 0.198 343.2);
Tailwind
colors: {
custom: {
50: '#e182bd',
500: '#cf45a2',
950: '#000000',
},
}SCSS
$custom: #cf45a2; $custom-light: #e182bd; $custom-dark: #000000;
JSON
{
"hex": "#cf45a2",
"rgb": {
"r": 207,
"g": 69,
"b": 162
},
"hsl": {
"h": 319.565,
"s": 58.974,
"l": 54.118
},
"oklch": {
"l": 0.61222,
"c": 0.19824,
"h": 343.2
},
"luminance": 0.2013
}Semantic roles & 50–950 ramp
primary
#CF45A2
secondary
#9BD5AE
accent
#E27946
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160B12
muted
#847C81