#310603#310603

#310603 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.7% C 0.070 H 30.3°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#310603
RGBrgb(49, 6, 3)
HSLhsl(4, 88%, 10%)
HSVhsv(4, 94%, 19%)
CMYKcmyk(0%, 87.8%, 93.9%, 80.8%)
CIE-LABlab(7.14, 21.31, 9.91)
CIE-LCHlch(7.14, 23.50, 24.93°)
OKLaboklab(20.74% 0.0609 0.0356)
OKLCHoklch(20.74% 0.07 30.3)
XYZxyz(1.3483, 0.7900, 0.1676)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310603 #032E31
analogous
#310317 #310603 #311D03
triadic
#310603 #033106 #060331
tetradic
#310603 #173103 #032E31 #1D0331
square
#310603 #173103 #032E31 #1D0331
split-complementary
#310603 #03311D #031731
monochromatic
#1D0402 #1D0402 #310603 #6B0D07 #A4140A

Accessibility & contrast

On white

18.13
#310603 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#310603 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310603
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310603#FFFFFF#000000##FFFFFF
##3106031.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131002
Deuteranopia (green-blind)
#1E1902
Tritanopia (blue-blind)
#370006
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310603;
/* rgb */ color: rgb(49, 6, 3);
/* oklch */ color: oklch(20.7% 0.070 30.3);
Tailwind
colors: {
  custom: {
    50: '#6d4948',
    500: '#310603',
    950: '#000000',
  },
}
SCSS
$custom: #310603;
$custom-light: #6d4948;
$custom-dark: #000000;
JSON
{
  "hex": "#310603",
  "rgb": {
    "r": 49,
    "g": 6,
    "b": 3
  },
  "hsl": {
    "h": 3.913,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.2074,
    "c": 0.07048,
    "h": 30.3
  },
  "luminance": 0.0079
}

Semantic roles & 50–950 ramp

primary
#310603
secondary
#1B6F74
accent
#F1FF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310603

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

Preview Lab → · Contrast checker → · Palette generator →

#310603 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva