#310206#310206

#310206 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.2% C 0.076 H 21.6°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#310206
RGBrgb(49, 2, 6)
HSLhsl(355, 92%, 10%)
HSVhsv(355, 96%, 19%)
CMYKcmyk(0%, 95.9%, 87.8%, 80.8%)
CIE-LABlab(6.41, 23.63, 7.62)
CIE-LCHlch(6.41, 24.83, 17.88°)
OKLaboklab(20.16% 0.0706 0.028)
OKLCHoklch(20.16% 0.076 21.6)
XYZxyz(1.3214, 0.7097, 0.2397)
Luminance0.0071 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310206 #02312D
analogous
#31021D #310206 #311602
triadic
#310206 #063102 #020631
tetradic
#310206 #1D3102 #02312D #160231
square
#310206 #1D3102 #02312D #160231
split-complementary
#310206 #023116 #021D31
monochromatic
#1D0104 #1D0104 #310206 #6C040D #A70714

Accessibility & contrast

On white

18.39
#310206 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#310206 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310206
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310206#FFFFFF#000000##FFFFFF
##3102061.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0D06
Deuteranopia (green-blind)
#1C1805
Tritanopia (blue-blind)
#370004
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #310206;
/* rgb */ color: rgb(49, 2, 6);
/* oklch */ color: oklch(20.2% 0.076 21.6);
Tailwind
colors: {
  custom: {
    50: '#6d4749',
    500: '#310206',
    950: '#000000',
  },
}
SCSS
$custom: #310206;
$custom-light: #6d4749;
$custom-dark: #000000;
JSON
{
  "hex": "#310206",
  "rgb": {
    "r": 49,
    "g": 2,
    "b": 6
  },
  "hsl": {
    "h": 354.894,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.20159,
    "c": 0.07594,
    "h": 21.6
  },
  "luminance": 0.0071
}

Semantic roles & 50–950 ramp

primary
#310206
secondary
#19756E
accent
#FFED29
background
#F6F4F4
surface
#ECE6E6
border
#C7C2C2
text
#070000
muted
#7A7777

Preview Lab

Preview with #310206

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

Preview Lab → · Contrast checker → · Palette generator →

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