#310A03#310A03

#310A03 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.4% C 0.066 H 34.7°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#310A03
RGBrgb(49, 10, 3)
HSLhsl(9, 88%, 10%)
HSVhsv(9, 94%, 19%)
CMYKcmyk(0%, 79.6%, 93.9%, 80.8%)
CIE-LABlab(7.92, 19.22, 11.05)
CIE-LCHlch(7.92, 22.17, 29.89°)
OKLaboklab(21.35% 0.0539 0.0373)
OKLCHoklch(21.35% 0.066 34.7)
XYZxyz(1.3918, 0.8768, 0.1821)
Luminance0.0088 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A03 #032A31
analogous
#310313 #310A03 #312103
triadic
#310A03 #03310A #0A0331
tetradic
#310A03 #133103 #032A31 #210331
square
#310A03 #133103 #032A31 #210331
split-complementary
#310A03 #033121 #031331
monochromatic
#1D0602 #1D0602 #310A03 #6B1607 #A4220A

Accessibility & contrast

On white

17.87
#310A03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#310A03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310A03
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A03#FFFFFF#000000##FFFFFF
##310A031.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151202
Deuteranopia (green-blind)
#1F1B02
Tritanopia (blue-blind)
#370208
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310a03;
/* rgb */ color: rgb(49, 10, 3);
/* oklch */ color: oklch(21.4% 0.066 34.7);
Tailwind
colors: {
  custom: {
    50: '#6c4b48',
    500: '#310a03',
    950: '#000000',
  },
}
SCSS
$custom: #310a03;
$custom-light: #6c4b48;
$custom-dark: #000000;
JSON
{
  "hex": "#310a03",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 3
  },
  "hsl": {
    "h": 9.13,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21352,
    "c": 0.06552,
    "h": 34.7
  },
  "luminance": 0.00877
}

Semantic roles & 50–950 ramp

primary
#310A03
secondary
#1B6774
accent
#DEFF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310A03

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#310A03 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva