#CF34A5#CF34A5
#CF34A5 is a mid, highly saturated pink. Relative luminance 0.184; OKLCH L 59.8% C 0.220 H 341.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CF34A5 |
|---|---|
| RGB | rgb(207, 52, 165) |
| HSL | hsl(316, 62%, 51%) |
| HSV | hsv(316, 75%, 81%) |
| CMYK | cmyk(0%, 74.9%, 20.3%, 18.8%) |
| CIE-LAB | lab(50.03, 69.47, -26.19) |
| CIE-LCH | lch(50.03, 74.25, 339.34°) |
| OKLab | oklab(59.84% 0.2082 -0.0705) |
| OKLCH | oklch(59.84% 0.22 341.3) |
| XYZ | xyz(33.7527, 18.4414, 37.3720) |
| Luminance | 0.1844 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.17
Pinky Purple
#C94CBE
ΔE00 5.62
Mediumvioletred
#C71585
ΔE00 6.70
Purplish Pink
#CE5DAE
ΔE00 7.12
Hot Magenta
#F504C9
ΔE00 7.42
Purpleish Pink
#DF4EC8
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF34A5 #34CF5E
analogous
#AB34CF #CF34A5 #CF3457
triadic
#CF34A5 #A5CF34 #34A5CF
tetradic
#CF34A5 #CFAB34 #34CF5E #3457CF
square
#CF34A5 #CFAB34 #34CF5E #3457CF
split-complementary
#CF34A5 #57CF34 #34CFAB
monochromatic
#6E1A58 #A0267F #CF34A5 #DB65BB #E697D1
Accessibility & contrast
On white
4.48
#CF34A5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#CF34A5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF34A5
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF34A5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF34A5 | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4267A8
Deuteranopia (green-blind)
#7380A1
Tritanopia (blue-blind)
#DC3769
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cf34a5; /* rgb */ color: rgb(207, 52, 165); /* oklch */ color: oklch(59.8% 0.220 341.3);
Tailwind
colors: {
custom: {
50: '#e27bc0',
500: '#cf34a5',
950: '#000000',
},
}SCSS
$custom: #cf34a5; $custom-light: #e27bc0; $custom-dark: #000000;
JSON
{
"hex": "#cf34a5",
"rgb": {
"r": 207,
"g": 52,
"b": 165
},
"hsl": {
"h": 316.258,
"s": 61.753,
"l": 50.784
},
"oklch": {
"l": 0.59836,
"c": 0.21985,
"h": 341.3
},
"luminance": 0.18438
}Semantic roles & 50–950 ramp
primary
#CF34A5
secondary
#8DD2A0
accent
#E56F43
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160A12
muted
#847C81