#310412#310412
#310412 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.8% C 0.073 H 7.0°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).
Color values
| HEX | #310412 |
|---|---|
| RGB | rgb(49, 4, 18) |
| HSL | hsl(341, 85%, 10%) |
| HSV | hsv(341, 92%, 19%) |
| CMYK | cmyk(0%, 91.8%, 63.3%, 80.8%) |
| CIE-LAB | lab(7.08, 23.65, 2.93) |
| CIE-LCH | lch(7.08, 23.83, 7.05°) |
| OKLab | oklab(20.81% 0.0726 0.009) |
| OKLCH | oklch(20.81% 0.073 7) |
| XYZ | xyz(1.4194, 0.7837, 0.6487) |
| Luminance | 0.0078 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.35
Deep Brown
#410200
ΔE00 8.71
Dark Plum
#3F012C
ΔE00 9.00
Very Dark Brown
#1D0200
ΔE00 9.96
Burgundy (survey)
#610023
ΔE00 10.58
Mahogany
#4A0100
ΔE00 10.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#310412 #043123
analogous
#310428 #310412 #310C04
triadic
#310412 #123104 #041231
tetradic
#310412 #283104 #043123 #0C0431
square
#310412 #283104 #043123 #0C0431
split-complementary
#310412 #04310C #042831
monochromatic
#1C020A #1C020A #310412 #6A0927 #A20D3C
Accessibility & contrast
On white
18.16
#310412 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.16
#310412 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #310412
18.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##310412 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##310412 | 1.00 | 18.16 | 1.16 | 18.16 |
| #FFFFFF | 18.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F1012
Deuteranopia (green-blind)
#1B1911
Tritanopia (blue-blind)
#360009
Achromatopsia (no color)
#161616
Design tokens & code
CSS
--color: #310412; /* rgb */ color: rgb(49, 4, 18); /* oklch */ color: oklch(20.8% 0.073 7.0);
Tailwind
colors: {
custom: {
50: '#6d484f',
500: '#310412',
950: '#000000',
},
}SCSS
$custom: #310412; $custom-light: #6d484f; $custom-dark: #000000;
JSON
{
"hex": "#310412",
"rgb": {
"r": 49,
"g": 4,
"b": 18
},
"hsl": {
"h": 341.333,
"s": 84.906,
"l": 10.392
},
"oklch": {
"l": 0.20811,
"c": 0.07319,
"h": 7
},
"luminance": 0.00783
}Semantic roles & 50–950 ramp
primary
#310412
secondary
#1D7359
accent
#FBBB2D
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778