#CF34B2#CF34B2
#CF34B2 is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.5% C 0.228 H 336.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CF34B2 |
|---|---|
| RGB | rgb(207, 52, 178) |
| HSL | hsl(311, 62%, 51%) |
| HSV | hsv(311, 75%, 81%) |
| CMYK | cmyk(0%, 74.9%, 14%, 18.8%) |
| CIE-LAB | lab(50.62, 71.23, -32.92) |
| CIE-LCH | lch(50.62, 78.47, 335.19°) |
| OKLab | oklab(60.45% 0.2098 -0.0896) |
| OKLCH | oklch(60.45% 0.228 336.9) |
| XYZ | xyz(34.9967, 18.9390, 43.9233) |
| Luminance | 0.1894 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.97
Pinky Purple
#C94CBE
ΔE00 3.89
Hot Magenta
#F504C9
ΔE00 6.37
Purpleish Pink
#DF4EC8
ΔE00 6.58
Fuchsia (survey)
#ED0DD9
ΔE00 6.73
Purple Pink
#D725DE
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF34B2 #34CF51
analogous
#9E34CF #CF34B2 #CF3464
triadic
#CF34B2 #B2CF34 #34B2CF
tetradic
#CF34B2 #CF9E34 #34CF51 #3464CF
square
#CF34B2 #CF9E34 #34CF51 #3464CF
split-complementary
#CF34B2 #64CF34 #34CF9E
monochromatic
#6E1A5F #A02689 #CF34B2 #DB65C5 #E697D8
Accessibility & contrast
On white
4.39
#CF34B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#CF34B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF34B2
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF34B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF34B2 | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#6E81AE
Tritanopia (blue-blind)
#DA3E70
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cf34b2; /* rgb */ color: rgb(207, 52, 178); /* oklch */ color: oklch(60.5% 0.228 336.9);
Tailwind
colors: {
custom: {
50: '#e27bc9',
500: '#cf34b2',
950: '#000000',
},
}SCSS
$custom: #cf34b2; $custom-light: #e27bc9; $custom-dark: #000000;
JSON
{
"hex": "#cf34b2",
"rgb": {
"r": 207,
"g": 52,
"b": 178
},
"hsl": {
"h": 311.226,
"s": 61.753,
"l": 50.784
},
"oklch": {
"l": 0.60453,
"c": 0.22815,
"h": 336.9
},
"luminance": 0.18936
}Semantic roles & 50–950 ramp
primary
#CF34B2
secondary
#8DD29A
accent
#E56143
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82