#CF47A1#CF47A1
#CF47A1 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.4% C 0.195 H 343.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #CF47A1 |
|---|---|
| RGB | rgb(207, 71, 161) |
| HSL | hsl(320, 59%, 55%) |
| HSV | hsv(320, 66%, 81%) |
| CMYK | cmyk(0%, 65.7%, 22.2%, 18.8%) |
| CIE-LAB | lab(52.23, 62.30, -20.44) |
| CIE-LCH | lch(52.23, 65.57, 341.84°) |
| OKLab | oklab(61.39% 0.1872 -0.0545) |
| OKLCH | oklch(61.39% 0.195 343.8) |
| XYZ | xyz(34.4195, 20.3484, 35.8262) |
| Luminance | 0.2034 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.53
Pinky Purple
#C94CBE
ΔE00 5.99
Purpley Pink
#C83CB9
ΔE00 6.07
Purpleish Pink
#DF4EC8
ΔE00 7.08
Pale Magenta
#D767AD
ΔE00 7.09
Bright Pink
#FE01B1
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF47A1 #47CF75
analogous
#B947CF #CF47A1 #CF475D
triadic
#CF47A1 #A1CF47 #47A1CF
tetradic
#CF47A1 #CFB947 #47CF75 #475DCF
square
#CF47A1 #CFB947 #47CF75 #475DCF
split-complementary
#CF47A1 #5DCF47 #47CFB9
monochromatic
#7B205D #AC2D81 #CF47A1 #DC78BA #E8A8D3
Accessibility & contrast
On white
4.14
#CF47A1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#CF47A1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF47A1
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF47A1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF47A1 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#546EA4
Deuteranopia (green-blind)
#7C859E
Tritanopia (blue-blind)
#DC476E
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #cf47a1; /* rgb */ color: rgb(207, 71, 161); /* oklch */ color: oklch(61.4% 0.195 343.8);
Tailwind
colors: {
custom: {
50: '#e183bd',
500: '#cf47a1',
950: '#000000',
},
}SCSS
$custom: #cf47a1; $custom-light: #e183bd; $custom-dark: #000000;
JSON
{
"hex": "#cf47a1",
"rgb": {
"r": 207,
"g": 71,
"b": 161
},
"hsl": {
"h": 320.294,
"s": 58.621,
"l": 54.51
},
"oklch": {
"l": 0.61386,
"c": 0.19501,
"h": 343.8
},
"luminance": 0.20345
}Semantic roles & 50–950 ramp
primary
#CF47A1
secondary
#9CD6B0
accent
#E27B46
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160B12
muted
#847C81