#CD2D54#CD2D54
#CD2D54 is a mid, vivid red. Relative luminance 0.155; OKLCH L 56.2% C 0.195 H 12.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #CD2D54 |
|---|---|
| RGB | rgb(205, 45, 84) |
| HSL | hsl(345, 64%, 49%) |
| HSV | hsv(345, 78%, 80%) |
| CMYK | cmyk(0%, 78%, 59%, 19.6%) |
| CIE-LAB | lab(46.31, 62.99, 17.45) |
| CIE-LCH | lch(46.31, 65.36, 15.48°) |
| OKLab | oklab(56.2% 0.1899 0.0431) |
| OKLCH | oklch(56.2% 0.195 12.8) |
| XYZ | xyz(27.7183, 15.5001, 9.9181) |
| Luminance | 0.1550 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick
#D5174E
ΔE00 1.98
Ruby
#CA0147
ΔE00 3.75
Raspberry
#E30B5C
ΔE00 4.04
Cherry
#DE3163
ΔE00 4.50
Cerise
#DE0C62
ΔE00 4.72
Deep Rose
#C74767
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD2D54 #2DCDA6
analogous
#CD2DA4 #CD2D54 #CD562D
triadic
#CD2D54 #54CD2D #2D54CD
tetradic
#CD2D54 #A4CD2D #2DCDA6 #562DCD
square
#CD2D54 #A4CD2D #2DCDA6 #562DCD
split-complementary
#CD2D54 #2DCD56 #2DA4CD
monochromatic
#69172B #9B223F #CD2D54 #DB5C7B #E68EA4
Accessibility & contrast
On white
5.12
#CD2D54 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#CD2D54 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CD2D54
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD2D54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CD2D54 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5954
Deuteranopia (green-blind)
#837950
Tritanopia (blue-blind)
#E0003E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #cd2d54; /* rgb */ color: rgb(205, 45, 84); /* oklch */ color: oklch(56.2% 0.195 12.8);
Tailwind
colors: {
custom: {
50: '#e47583',
500: '#cd2d54',
950: '#000000',
},
}SCSS
$custom: #cd2d54; $custom-light: #e47583; $custom-dark: #000000;
JSON
{
"hex": "#cd2d54",
"rgb": {
"r": 205,
"g": 45,
"b": 84
},
"hsl": {
"h": 345.375,
"s": 64,
"l": 49.02
},
"oklch": {
"l": 0.56198,
"c": 0.19476,
"h": 12.8
},
"luminance": 0.15496
}Semantic roles & 50–950 ramp
primary
#CD2D54
secondary
#85D1BE
accent
#E7BE41
background
#FFF7F8
surface
#FEEEEF
border
#D6C9CA
text
#17090A
muted
#857B7C