#310B15#310B15
#310B15 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.0% C 0.062 H 7.8°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).
Color values
| HEX | #310B15 |
|---|---|
| RGB | rgb(49, 11, 21) |
| HSL | hsl(344, 63%, 12%) |
| HSV | hsv(344, 78%, 19%) |
| CMYK | cmyk(0%, 77.6%, 57.1%, 80.8%) |
| CIE-LAB | lab(8.54, 20.25, 3.11) |
| CIE-LCH | lch(8.54, 20.49, 8.73°) |
| OKLab | oklab(21.95% 0.0616 0.0084) |
| OKLCH | oklch(21.95% 0.062 7.8) |
| XYZ | xyz(1.5218, 0.9466, 0.8119) |
| Luminance | 0.0095 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Maroon
#3C0008
ΔE00 6.01
Very Dark Brown
#1D0200
ΔE00 8.53
Deep Brown
#410200
ΔE00 8.77
Dark Plum
#3F012C
ΔE00 9.87
Mahogany
#4A0100
ΔE00 10.89
Dried Blood
#4B0101
ΔE00 10.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#310B15 #0B3127
analogous
#310B28 #310B15 #31140B
triadic
#310B15 #15310B #0B1531
tetradic
#310B15 #28310B #0B3127 #140B31
square
#310B15 #28310B #0B3127 #140B31
split-complementary
#310B15 #0B3114 #0B2831
monochromatic
#19060B #19060B #310B15 #63162A #952140
Accessibility & contrast
On white
17.66
#310B15 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.19
#310B15 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #310B15
17.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##310B15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##310B15 | 1.00 | 17.66 | 1.19 | 17.66 |
| #FFFFFF | 17.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#131415
Deuteranopia (green-blind)
#1D1B14
Tritanopia (blue-blind)
#36060F
Achromatopsia (no color)
#191919
Design tokens & code
CSS
--color: #310b15; /* rgb */ color: rgb(49, 11, 21); /* oklch */ color: oklch(22.0% 0.062 7.8);
Tailwind
colors: {
custom: {
50: '#6c4c52',
500: '#310b15',
950: '#000000',
},
}SCSS
$custom: #310b15; $custom-light: #6c4c52; $custom-dark: #000000;
JSON
{
"hex": "#310b15",
"rgb": {
"r": 49,
"g": 11,
"b": 21
},
"hsl": {
"h": 344.211,
"s": 63.333,
"l": 11.765
},
"oklch": {
"l": 0.21951,
"c": 0.06218,
"h": 7.8
},
"luminance": 0.00946
}Semantic roles & 50–950 ramp
primary
#310B15
secondary
#2A6E5C
accent
#E6BB41
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778