#31060C#31060C

#31060C is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.9% C 0.069 H 17.4°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#31060C
RGBrgb(49, 6, 12)
HSLhsl(352, 78%, 11%)
HSVhsv(352, 88%, 19%)
CMYKcmyk(0%, 87.8%, 75.5%, 80.8%)
CIE-LABlab(7.32, 22.01, 6.46)
CIE-LCHlch(7.32, 22.94, 16.35°)
OKLaboklab(20.95% 0.0659 0.0206)
OKLCHoklch(20.95% 0.069 17.4)
XYZxyz(1.3983, 0.8100, 0.4305)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31060C #06312B
analogous
#310621 #31060C #311506
triadic
#31060C #0C3106 #060C31
tetradic
#31060C #213106 #06312B #150631
square
#31060C #213106 #06312B #150631
split-complementary
#31060C #063115 #062131
monochromatic
#1B0307 #1B0307 #31060C #680D19 #9E1327

Accessibility & contrast

On white

18.07
#31060C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#31060C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31060C
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31060C#FFFFFF#000000##FFFFFF
##31060C1.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12100C
Deuteranopia (green-blind)
#1D190B
Tritanopia (blue-blind)
#370008
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #31060c;
/* rgb */ color: rgb(49, 6, 12);
/* oklch */ color: oklch(20.9% 0.069 17.4);
Tailwind
colors: {
  custom: {
    50: '#6d494c',
    500: '#31060c',
    950: '#000000',
  },
}
SCSS
$custom: #31060c;
$custom-light: #6d494c;
$custom-dark: #000000;
JSON
{
  "hex": "#31060c",
  "rgb": {
    "r": 49,
    "g": 6,
    "b": 12
  },
  "hsl": {
    "h": 351.628,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20945,
    "c": 0.06904,
    "h": 17.4
  },
  "luminance": 0.0081
}

Semantic roles & 50–950 ramp

primary
#31060C
secondary
#217266
accent
#F5DA33
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #31060C

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

Preview Lab → · Contrast checker → · Palette generator →

#31060C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva