#DC315D#DC315D
#DC315D is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.3% C 0.206 H 11.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #DC315D |
|---|---|
| RGB | rgb(220, 49, 93) |
| HSL | hsl(345, 71%, 53%) |
| HSV | hsv(345, 78%, 86%) |
| CMYK | cmyk(0%, 77.7%, 57.7%, 13.7%) |
| CIE-LAB | lab(49.75, 66.58, 17.06) |
| CIE-LCH | lch(49.75, 68.73, 14.38°) |
| OKLab | oklab(59.31% 0.2012 0.0424) |
| OKLCH | oklch(59.31% 0.206 11.9) |
| XYZ | xyz(32.5926, 18.2074, 12.1520) |
| Luminance | 0.1820 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cherry
#DE3163
ΔE00 1.52
Raspberry
#E30B5C
ΔE00 2.48
Cerise
#DE0C62
ΔE00 4.01
Lipstick
#D5174E
ΔE00 4.04
Deep Rose
#C74767
ΔE00 4.55
Dark Pink
#CB416B
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC315D #31DCB0
analogous
#DC31B3 #DC315D #DC5A31
triadic
#DC315D #5DDC31 #315DDC
tetradic
#DC315D #B3DC31 #31DCB0 #5A31DC
square
#DC315D #B3DC31 #31DCB0 #5A31DC
split-complementary
#DC315D #31DC5A #31B3DC
monochromatic
#7D1530 #B21E44 #DC315D #E56586 #EE9AAF
Accessibility & contrast
On white
4.53
#DC315D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#DC315D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DC315D
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC315D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC315D | 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)
#61605E
Deuteranopia (green-blind)
#8D8359
Tritanopia (blue-blind)
#F10044
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #dc315d; /* rgb */ color: rgb(220, 49, 93); /* oklch */ color: oklch(59.3% 0.206 11.9);
Tailwind
colors: {
custom: {
50: '#ee798a',
500: '#dc315d',
950: '#000000',
},
}SCSS
$custom: #dc315d; $custom-light: #ee798a; $custom-dark: #000000;
JSON
{
"hex": "#dc315d",
"rgb": {
"r": 220,
"g": 49,
"b": 93
},
"hsl": {
"h": 344.561,
"s": 70.954,
"l": 52.745
},
"oklch": {
"l": 0.59305,
"c": 0.2056,
"h": 11.9
},
"luminance": 0.18203
}Semantic roles & 50–950 ramp
primary
#DC315D
secondary
#8FD9C6
accent
#EEBF3A
background
#FFF7F8
surface
#FFEEF0
border
#D7C9CB
text
#180A0B
muted
#867C7C