#31060F#31060F

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

Color values

HEX#31060F
RGBrgb(49, 6, 15)
HSLhsl(347, 78%, 11%)
HSVhsv(347, 88%, 19%)
CMYKcmyk(0%, 87.8%, 69.4%, 80.8%)
CIE-LABlab(7.39, 22.28, 5.09)
CIE-LCHlch(7.39, 22.85, 12.86°)
OKLaboklab(21.03% 0.0674 0.0156)
OKLCHoklch(21.03% 0.069 13.1)
XYZxyz(1.4181, 0.8179, 0.5350)
Luminance0.0082 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31060F #063128
analogous
#310624 #31060F #311206
triadic
#31060F #0F3106 #060F31
tetradic
#31060F #243106 #063128 #120631
square
#31060F #243106 #063128 #120631
split-complementary
#31060F #063112 #062431
monochromatic
#1B0308 #1B0308 #31060F #680D20 #9E1330

Accessibility & contrast

On white

18.05
#31060F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31060F
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31060F#FFFFFF#000000##FFFFFF
##31060F1.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11110F
Deuteranopia (green-blind)
#1C1A0E
Tritanopia (blue-blind)
#370009
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #31060f;
/* rgb */ color: rgb(49, 6, 15);
/* oklch */ color: oklch(21.0% 0.069 13.1);
Tailwind
colors: {
  custom: {
    50: '#6c494e',
    500: '#31060f',
    950: '#000000',
  },
}
SCSS
$custom: #31060f;
$custom-light: #6c494e;
$custom-dark: #000000;
JSON
{
  "hex": "#31060f",
  "rgb": {
    "r": 49,
    "g": 6,
    "b": 15
  },
  "hsl": {
    "h": 347.442,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21026,
    "c": 0.06917,
    "h": 13.1
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#31060F
secondary
#217261
accent
#F5CC33
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #31060F

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

Preview Lab → · Contrast checker → · Palette generator →

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