#CD30AF#CD30AF
#CD30AF is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.7% C 0.229 H 337.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #CD30AF |
|---|---|
| RGB | rgb(205, 48, 175) |
| HSL | hsl(311, 62%, 50%) |
| HSV | hsv(311, 77%, 80%) |
| CMYK | cmyk(0%, 76.6%, 14.6%, 19.6%) |
| CIE-LAB | lab(49.73, 71.53, -32.58) |
| CIE-LCH | lch(49.73, 78.60, 335.51°) |
| OKLab | oklab(59.7% 0.2111 -0.0887) |
| OKLCH | oklch(59.7% 0.229 337.2) |
| XYZ | xyz(33.9723, 18.1914, 42.2713) |
| Luminance | 0.1819 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.35
Pinky Purple
#C94CBE
ΔE00 4.65
Hot Magenta
#F504C9
ΔE00 7.06
Purple Pink
#D725DE
ΔE00 7.24
Ugly Purple
#A442A0
ΔE00 7.28
Fuchsia (survey)
#ED0DD9
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD30AF #30CD4E
analogous
#9D30CD #CD30AF #CD3061
triadic
#CD30AF #AFCD30 #30AFCD
tetradic
#CD30AF #CD9D30 #30CD4E #3061CD
square
#CD30AF #CD9D30 #30CD4E #3061CD
split-complementary
#CD30AF #61CD30 #30CD9D
monochromatic
#6A195A #9B2485 #CD30AF #DA60C3 #E592D6
Accessibility & contrast
On white
4.53
#CD30AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#CD30AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD30AF
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD30AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD30AF | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3667B2
Deuteranopia (green-blind)
#6D7FAB
Tritanopia (blue-blind)
#D83A6D
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #cd30af; /* rgb */ color: rgb(205, 48, 175); /* oklch */ color: oklch(59.7% 0.229 337.2);
Tailwind
colors: {
custom: {
50: '#e079c7',
500: '#cd30af',
950: '#000000',
},
}SCSS
$custom: #cd30af; $custom-light: #e079c7; $custom-dark: #000000;
JSON
{
"hex": "#cd30af",
"rgb": {
"r": 205,
"g": 48,
"b": 175
},
"hsl": {
"h": 311.465,
"s": 62.055,
"l": 49.608
},
"oklch": {
"l": 0.59704,
"c": 0.22899,
"h": 337.2
},
"luminance": 0.18188
}Semantic roles & 50–950 ramp
primary
#CD30AF
secondary
#89D096
accent
#E56243
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A13
muted
#847C82