#CD498A#CD498A
#CD498A is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.4% C 0.178 H 353.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #CD498A |
|---|---|
| RGB | rgb(205, 73, 138) |
| HSL | hsl(330, 57%, 55%) |
| HSV | hsv(330, 64%, 80%) |
| CMYK | cmyk(0%, 64.4%, 32.7%, 19.6%) |
| CIE-LAB | lab(51.36, 58.02, -8.14) |
| CIE-LCH | lch(51.36, 58.59, 352.01°) |
| OKLab | oklab(60.41% 0.177 -0.0208) |
| OKLCH | oklch(60.41% 0.178 353.3) |
| XYZ | xyz(32.1485, 19.5827, 26.1266) |
| Luminance | 0.1958 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.81
Dark Pink
#CB416B
ΔE00 7.40
Mediumvioletred
#C71585
ΔE00 7.67
Neon Pink
#FE019A
ΔE00 7.78
Purplish Pink
#CE5DAE
ΔE00 7.83
Electric Pink
#FF0490
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD498A #49CD8C
analogous
#CD49CC #CD498A #CD4A49
triadic
#CD498A #8ACD49 #498ACD
tetradic
#CD498A #CCCD49 #49CD8C #4A49CD
square
#CD498A #CCCD49 #49CD8C #4A49CD
split-complementary
#CD498A #49CD4A #49CCCD
monochromatic
#7A224D #AA2F6B #CD498A #DA79A9 #E7A9C8
Accessibility & contrast
On white
4.27
#CD498A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#CD498A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD498A
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD498A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD498A | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E6B8C
Deuteranopia (green-blind)
#828387
Tritanopia (blue-blind)
#DC4064
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cd498a; /* rgb */ color: rgb(205, 73, 138); /* oklch */ color: oklch(60.4% 0.178 353.3);
Tailwind
colors: {
custom: {
50: '#e084ac',
500: '#cd498a',
950: '#000000',
},
}SCSS
$custom: #cd498a; $custom-light: #e084ac; $custom-dark: #000000;
JSON
{
"hex": "#cd498a",
"rgb": {
"r": 205,
"g": 73,
"b": 138
},
"hsl": {
"h": 330.455,
"s": 56.897,
"l": 54.51
},
"oklch": {
"l": 0.60412,
"c": 0.17823,
"h": 353.3
},
"luminance": 0.19579
}Semantic roles & 50–950 ramp
primary
#CD498A
secondary
#9DD5B9
accent
#E09548
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F