#CD334C#CD334C
#CD334C is a mid, vivid red. Relative luminance 0.159; OKLCH L 56.5% C 0.189 H 17.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #CD334C |
|---|---|
| RGB | rgb(205, 51, 76) |
| HSL | hsl(350, 61%, 50%) |
| HSV | hsv(350, 75%, 80%) |
| CMYK | cmyk(0%, 75.1%, 62.9%, 19.6%) |
| CIE-LAB | lab(46.81, 60.65, 23.00) |
| CIE-LCH | lch(46.81, 64.87, 20.77°) |
| OKLab | oklab(56.51% 0.1809 0.0555) |
| OKLCH | oklch(56.51% 0.189 17) |
| XYZ | xyz(27.6681, 15.8727, 8.4429) |
| Luminance | 0.1587 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick
#D5174E
ΔE00 3.10
Crimson
#DC143C
ΔE00 4.33
Dusty Red
#B9484E
ΔE00 4.41
Cardinal
#C41E3A
ΔE00 4.55
Ruby
#CA0147
ΔE00 4.79
Cherry (survey)
#CF0234
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD334C #33CDB4
analogous
#CD3399 #CD334C #CD6733
triadic
#CD334C #4CCD33 #334CCD
tetradic
#CD334C #99CD33 #33CDB4 #6733CD
square
#CD334C #99CD33 #33CDB4 #6733CD
split-complementary
#CD334C #33CD67 #3399CD
monochromatic
#6B1A27 #9C263A #CD334C #D96477 #E595A2
Accessibility & contrast
On white
5.03
#CD334C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#CD334C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CD334C
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD334C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CD334C | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5A4C
Deuteranopia (green-blind)
#857B48
Tritanopia (blue-blind)
#E1003E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #cd334c; /* rgb */ color: rgb(205, 51, 76); /* oklch */ color: oklch(56.5% 0.189 17.0);
Tailwind
colors: {
custom: {
50: '#e4787d',
500: '#cd334c',
950: '#000000',
},
}SCSS
$custom: #cd334c; $custom-light: #e4787d; $custom-dark: #000000;
JSON
{
"hex": "#cd334c",
"rgb": {
"r": 205,
"g": 51,
"b": 76
},
"hsl": {
"h": 350.26,
"s": 60.63,
"l": 50.196
},
"oklch": {
"l": 0.56514,
"c": 0.18925,
"h": 17
},
"luminance": 0.15869
}Semantic roles & 50–950 ramp
primary
#CD334C
secondary
#8BD0C5
accent
#E4CA44
background
#FFF7F7
surface
#FEEEEE
border
#D6C9C9
text
#170A09
muted
#857C7B