#C8315A#C8315A
#C8315A is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.8% C 0.187 H 10.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #C8315A |
|---|---|
| RGB | rgb(200, 49, 90) |
| HSL | hsl(344, 61%, 49%) |
| HSV | hsv(344, 76%, 78%) |
| CMYK | cmyk(0%, 75.5%, 55%, 21.6%) |
| CIE-LAB | lab(45.93, 60.78, 13.07) |
| CIE-LCH | lch(45.93, 62.17, 12.14°) |
| OKLab | oklab(55.79% 0.1844 0.033) |
| OKLCH | oklch(55.79% 0.187 10.2) |
| XYZ | xyz(26.7657, 15.2180, 11.1988) |
| Luminance | 0.1521 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Lipstick
#D5174E
ΔE00 3.75
Deep Rose
#C74767
ΔE00 3.93
Cerise
#DE0C62
ΔE00 4.13
Dark Pink
#CB416B
ΔE00 4.16
Dark Rose
#B5485D
ΔE00 4.34
Raspberry
#E30B5C
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8315A #31C89F
analogous
#C831A6 #C8315A #C85431
triadic
#C8315A #5AC831 #315AC8
tetradic
#C8315A #A6C831 #31C89F #5431C8
square
#C8315A #A6C831 #31C89F #5431C8
split-complementary
#C8315A #31C854 #31A6C8
monochromatic
#66192E #972544 #C8315A #D85F7F #E490A6
Accessibility & contrast
On white
5.19
#C8315A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#C8315A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C8315A
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8315A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C8315A | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#59595B
Deuteranopia (green-blind)
#807856
Tritanopia (blue-blind)
#DA0042
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #c8315a; /* rgb */ color: rgb(200, 49, 90); /* oklch */ color: oklch(55.8% 0.187 10.2);
Tailwind
colors: {
custom: {
50: '#df7688',
500: '#c8315a',
950: '#000000',
},
}SCSS
$custom: #c8315a; $custom-light: #df7688; $custom-dark: #000000;
JSON
{
"hex": "#c8315a",
"rgb": {
"r": 200,
"g": 49,
"b": 90
},
"hsl": {
"h": 343.709,
"s": 60.643,
"l": 48.824
},
"oklch": {
"l": 0.55791,
"c": 0.18731,
"h": 10.2
},
"luminance": 0.15214
}Semantic roles & 50–950 ramp
primary
#C8315A
secondary
#86CEBB
accent
#E4B844
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#160A0B
muted
#847C7C