#CF30AF#CF30AF
#CF30AF is a mid, highly saturated pink. Relative luminance 0.185; OKLCH L 60.0% C 0.230 H 337.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CF30AF |
|---|---|
| RGB | rgb(207, 48, 175) |
| HSL | hsl(312, 62%, 50%) |
| HSV | hsv(312, 77%, 81%) |
| CMYK | cmyk(0%, 76.8%, 15.5%, 18.8%) |
| CIE-LAB | lab(50.07, 71.98, -32.02) |
| CIE-LCH | lch(50.07, 78.78, 336.02°) |
| OKLab | oklab(60.01% 0.213 -0.087) |
| OKLCH | oklch(60.01% 0.23 337.8) |
| XYZ | xyz(34.5277, 18.4778, 42.2973) |
| Luminance | 0.1847 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.49
Pinky Purple
#C94CBE
ΔE00 4.57
Hot Magenta
#F504C9
ΔE00 6.72
Purpleish Pink
#DF4EC8
ΔE00 7.21
Fuchsia (survey)
#ED0DD9
ΔE00 7.21
Purple Pink
#D725DE
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF30AF #30CF50
analogous
#9F30CF #CF30AF #CF3060
triadic
#CF30AF #AFCF30 #30AFCF
tetradic
#CF30AF #CF9F30 #30CF50 #3060CF
square
#CF30AF #CF9F30 #30CF50 #3060CF
split-complementary
#CF30AF #60CF30 #30CF9F
monochromatic
#6C195B #9D2485 #CF30AF #DB62C2 #E693D5
Accessibility & contrast
On white
4.47
#CF30AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#CF30AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF30AF
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF30AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF30AF | 1.00 | 4.47 | 4.69 | 4.69 |
| #FFFFFF | 4.47 | 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)
#3768B2
Deuteranopia (green-blind)
#6E80AB
Tritanopia (blue-blind)
#DA3A6D
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cf30af; /* rgb */ color: rgb(207, 48, 175); /* oklch */ color: oklch(60.0% 0.230 337.8);
Tailwind
colors: {
custom: {
50: '#e27ac7',
500: '#cf30af',
950: '#000000',
},
}SCSS
$custom: #cf30af; $custom-light: #e27ac7; $custom-dark: #000000;
JSON
{
"hex": "#cf30af",
"rgb": {
"r": 207,
"g": 48,
"b": 175
},
"hsl": {
"h": 312.075,
"s": 62.353,
"l": 50
},
"oklch": {
"l": 0.60015,
"c": 0.23007,
"h": 337.8
},
"luminance": 0.18474
}Semantic roles & 50–950 ramp
primary
#CF30AF
secondary
#8AD198
accent
#E56342
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160A13
muted
#847C82