#310A02#310A02

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

Color values

HEX#310A02
RGBrgb(49, 10, 2)
HSLhsl(10, 92%, 10%)
HSVhsv(10, 96%, 19%)
CMYKcmyk(0%, 79.6%, 95.9%, 80.8%)
CIE-LABlab(7.90, 19.15, 11.43)
CIE-LCHlch(7.90, 22.30, 30.84°)
OKLaboklab(21.33% 0.0532 0.0391)
OKLCHoklch(21.33% 0.066 36.3)
XYZxyz(1.3863, 0.8746, 0.1532)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A02 #022931
analogous
#310211 #310A02 #312202
triadic
#310A02 #02310A #0A0231
tetradic
#310A02 #113102 #022931 #220231
square
#310A02 #113102 #022931 #220231
split-complementary
#310A02 #023122 #021131
monochromatic
#1D0601 #1D0601 #310A02 #6C1604 #A72207

Accessibility & contrast

On white

17.88
#310A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#310A02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310A02
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A02#FFFFFF#000000##FFFFFF
##310A021.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310a02;
/* rgb */ color: rgb(49, 10, 2);
/* oklch */ color: oklch(21.3% 0.066 36.3);
Tailwind
colors: {
  custom: {
    50: '#6c4b47',
    500: '#310a02',
    950: '#000000',
  },
}
SCSS
$custom: #310a02;
$custom-light: #6c4b47;
$custom-dark: #000000;
JSON
{
  "hex": "#310a02",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 2
  },
  "hsl": {
    "h": 10.213,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.21331,
    "c": 0.06603,
    "h": 36.3
  },
  "luminance": 0.00874
}

Semantic roles & 50–950 ramp

primary
#310A02
secondary
#196675
accent
#DBFF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #310A02

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

Preview Lab → · Contrast checker → · Palette generator →

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