#CF34A1#CF34A1
#CF34A1 is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.7% C 0.217 H 342.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #CF34A1 |
|---|---|
| RGB | rgb(207, 52, 161) |
| HSL | hsl(318, 62%, 51%) |
| HSV | hsv(318, 75%, 81%) |
| CMYK | cmyk(0%, 74.9%, 22.2%, 18.8%) |
| CIE-LAB | lab(49.86, 68.96, -24.09) |
| CIE-LCH | lch(49.86, 73.04, 340.74°) |
| OKLab | oklab(59.66% 0.2076 -0.0646) |
| OKLCH | oklch(59.66% 0.217 342.7) |
| XYZ | xyz(33.3944, 18.2981, 35.4845) |
| Luminance | 0.1830 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.92
Mediumvioletred
#C71585
ΔE00 6.12
Pinky Purple
#C94CBE
ΔE00 6.26
Purplish Pink
#CE5DAE
ΔE00 7.22
Bright Pink
#FE01B1
ΔE00 7.85
Hot Magenta
#F504C9
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF34A1 #34CF62
analogous
#AF34CF #CF34A1 #CF3454
triadic
#CF34A1 #A1CF34 #34A1CF
tetradic
#CF34A1 #CFAF34 #34CF62 #3454CF
square
#CF34A1 #CFAF34 #34CF62 #3454CF
split-complementary
#CF34A1 #54CF34 #34CFAF
monochromatic
#6E1A55 #A0267C #CF34A1 #DB65B8 #E697CF
Accessibility & contrast
On white
4.51
#CF34A1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#CF34A1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF34A1
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF34A1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF34A1 | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4466A4
Deuteranopia (green-blind)
#75809D
Tritanopia (blue-blind)
#DC3567
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cf34a1; /* rgb */ color: rgb(207, 52, 161); /* oklch */ color: oklch(59.7% 0.217 342.7);
Tailwind
colors: {
custom: {
50: '#e27bbd',
500: '#cf34a1',
950: '#000000',
},
}SCSS
$custom: #cf34a1; $custom-light: #e27bbd; $custom-dark: #000000;
JSON
{
"hex": "#cf34a1",
"rgb": {
"r": 207,
"g": 52,
"b": 161
},
"hsl": {
"h": 317.806,
"s": 61.753,
"l": 50.784
},
"oklch": {
"l": 0.59656,
"c": 0.21743,
"h": 342.7
},
"luminance": 0.18295
}Semantic roles & 50–950 ramp
primary
#CF34A1
secondary
#8DD2A1
accent
#E57343
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160A12
muted
#847C81