#31010E#31010E

#31010E is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.2% C 0.078 H 10.2°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#31010E
RGBrgb(49, 1, 14)
HSLhsl(344, 96%, 10%)
HSVhsv(344, 98%, 19%)
CMYKcmyk(0%, 98%, 71.4%, 80.8%)
CIE-LABlab(6.38, 24.82, 4.13)
CIE-LCHlch(6.38, 25.16, 9.46°)
OKLaboklab(20.2% 0.0769 0.0139)
OKLCHoklch(20.2% 0.078 10.2)
XYZxyz(1.3569, 0.7066, 0.4803)
Luminance0.0071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31010E #013124
analogous
#310126 #31010E #310C01
triadic
#31010E #0E3101 #010E31
tetradic
#31010E #263101 #013124 #0C0131
square
#31010E #263101 #013124 #0C0131
split-complementary
#31010E #01310C #012631
monochromatic
#1E0109 #1E0109 #31010E #6D021F #A90330

Accessibility & contrast

On white

18.40
#31010E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#31010E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31010E
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31010E#FFFFFF#000000##FFFFFF
##31010E1.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0D0E
Deuteranopia (green-blind)
#1A180D
Tritanopia (blue-blind)
#370006
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #31010e;
/* rgb */ color: rgb(49, 1, 14);
/* oklch */ color: oklch(20.2% 0.078 10.2);
Tailwind
colors: {
  custom: {
    50: '#6d474d',
    500: '#31010e',
    950: '#000000',
  },
}
SCSS
$custom: #31010e;
$custom-light: #6d474d;
$custom-dark: #000000;
JSON
{
  "hex": "#31010e",
  "rgb": {
    "r": 49,
    "g": 1,
    "b": 14
  },
  "hsl": {
    "h": 343.75,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20198,
    "c": 0.0781,
    "h": 10.2
  },
  "luminance": 0.00706
}

Semantic roles & 50–950 ramp

primary
#31010E
secondary
#17775D
accent
#FFC529
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #31010E

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

Preview Lab → · Contrast checker → · Palette generator →

#31010E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva