#310C03#310C03

#310C03 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.7% C 0.063 H 37.0°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#310C03
RGBrgb(49, 12, 3)
HSLhsl(12, 88%, 10%)
HSVhsv(12, 94%, 19%)
CMYKcmyk(0%, 75.5%, 93.9%, 80.8%)
CIE-LABlab(8.33, 18.12, 11.65)
CIE-LCHlch(8.33, 21.54, 32.73°)
OKLaboklab(21.66% 0.0505 0.0381)
OKLCHoklch(21.66% 0.063 37)
XYZxyz(1.4147, 0.9227, 0.1897)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310C03 #032831
analogous
#310311 #310C03 #312303
triadic
#310C03 #03310C #0C0331
tetradic
#310C03 #113103 #032831 #230331
square
#310C03 #113103 #032831 #230331
split-complementary
#310C03 #033123 #031131
monochromatic
#1D0702 #1D0702 #310C03 #6B1A07 #A4280A

Accessibility & contrast

On white

17.73
#310C03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310C03
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310C03#FFFFFF#000000##FFFFFF
##310C031.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171302
Deuteranopia (green-blind)
#201B02
Tritanopia (blue-blind)
#37040A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310c03;
/* rgb */ color: rgb(49, 12, 3);
/* oklch */ color: oklch(21.7% 0.063 37.0);
Tailwind
colors: {
  custom: {
    50: '#6c4d48',
    500: '#310c03',
    950: '#000000',
  },
}
SCSS
$custom: #310c03;
$custom-light: #6c4d48;
$custom-dark: #000000;
JSON
{
  "hex": "#310c03",
  "rgb": {
    "r": 49,
    "g": 12,
    "b": 3
  },
  "hsl": {
    "h": 11.739,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21661,
    "c": 0.06328,
    "h": 37
  },
  "luminance": 0.00922
}

Semantic roles & 50–950 ramp

primary
#310C03
secondary
#1B6374
accent
#D5FF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310C03

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

Preview Lab → · Contrast checker → · Palette generator →

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