#C8316B#C8316B
#C8316B is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.3% C 0.191 H 2.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #C8316B |
|---|---|
| RGB | rgb(200, 49, 107) |
| HSL | hsl(337, 61%, 49%) |
| HSV | hsv(337, 76%, 78%) |
| CMYK | cmyk(0%, 75.5%, 46.5%, 21.6%) |
| CIE-LAB | lab(46.37, 62.17, 3.20) |
| CIE-LCH | lch(46.37, 62.26, 2.95°) |
| OKLab | oklab(56.25% 0.1906 0.0089) |
| OKLCH | oklch(56.25% 0.191 2.7) |
| XYZ | xyz(27.5738, 15.5412, 15.4548) |
| Luminance | 0.1554 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Hot Pink
#D90166
ΔE00 3.32
Dark Pink
#CB416B
ΔE00 3.42
Deep Pink
#CB0162
ΔE00 3.43
Cerise
#DE0C62
ΔE00 4.64
Deep Rose
#C74767
ΔE00 4.92
Cherry
#DE3163
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8316B #31C88E
analogous
#C831B7 #C8316B #C84331
triadic
#C8316B #6BC831 #316BC8
tetradic
#C8316B #B7C831 #31C88E #4331C8
square
#C8316B #B7C831 #31C88E #4331C8
split-complementary
#C8316B #31C843 #31B7C8
monochromatic
#661936 #972551 #C8316B #D85F8D #E490B0
Accessibility & contrast
On white
5.11
#C8316B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#C8316B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C8316B
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8316B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C8316B | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#555B6C
Deuteranopia (green-blind)
#7D7867
Tritanopia (blue-blind)
#D9104A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #c8316b; /* rgb */ color: rgb(200, 49, 107); /* oklch */ color: oklch(56.3% 0.191 2.7);
Tailwind
colors: {
custom: {
50: '#df7795',
500: '#c8316b',
950: '#000000',
},
}SCSS
$custom: #c8316b; $custom-light: #df7795; $custom-dark: #000000;
JSON
{
"hex": "#c8316b",
"rgb": {
"r": 200,
"g": 49,
"b": 107
},
"hsl": {
"h": 336.954,
"s": 60.643,
"l": 48.824
},
"oklch": {
"l": 0.56254,
"c": 0.19079,
"h": 2.7
},
"luminance": 0.15538
}Semantic roles & 50–950 ramp
primary
#C8316B
secondary
#86CEB3
accent
#E4A644
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#160A0D
muted
#847C7E