#310503#310503

#310503 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.6% C 0.072 H 29.2°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#310503
RGBrgb(49, 5, 3)
HSLhsl(3, 88%, 10%)
HSVhsv(3, 94%, 19%)
CMYKcmyk(0%, 89.8%, 93.9%, 80.8%)
CIE-LABlab(6.94, 21.83, 9.62)
CIE-LCHlch(6.94, 23.86, 23.78°)
OKLaboklab(20.58% 0.0627 0.0351)
OKLCHoklch(20.58% 0.072 29.2)
XYZxyz(1.3375, 0.7683, 0.1640)
Luminance0.0077 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310503 #032F31
analogous
#310318 #310503 #311C03
triadic
#310503 #033105 #050331
tetradic
#310503 #183103 #032F31 #1C0331
square
#310503 #183103 #032F31 #1C0331
split-complementary
#310503 #03311C #031831
monochromatic
#1D0302 #1D0302 #310503 #6B0B07 #A4110A

Accessibility & contrast

On white

18.20
#310503 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#310503 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310503
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310503#FFFFFF#000000##FFFFFF
##3105031.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#120F03
Deuteranopia (green-blind)
#1D1902
Tritanopia (blue-blind)
#370005
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #310503;
/* rgb */ color: rgb(49, 5, 3);
/* oklch */ color: oklch(20.6% 0.072 29.2);
Tailwind
colors: {
  custom: {
    50: '#6d4948',
    500: '#310503',
    950: '#000000',
  },
}
SCSS
$custom: #310503;
$custom-light: #6d4948;
$custom-dark: #000000;
JSON
{
  "hex": "#310503",
  "rgb": {
    "r": 49,
    "g": 5,
    "b": 3
  },
  "hsl": {
    "h": 2.609,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20581,
    "c": 0.07187,
    "h": 29.2
  },
  "luminance": 0.00768
}

Semantic roles & 50–950 ramp

primary
#310503
secondary
#1B7174
accent
#F5FF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310503

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

Preview Lab → · Contrast checker → · Palette generator →

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