#310D18#310D18

#310D18 is a very dark, muted pink. Relative luminance 0.010; OKLCH L 22.4% C 0.060 H 4.3°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#310D18
RGBrgb(49, 13, 24)
HSLhsl(342, 58%, 12%)
HSVhsv(342, 73%, 19%)
CMYKcmyk(0%, 73.5%, 51%, 80.8%)
CIE-LABlab(9.05, 19.52, 1.65)
CIE-LCHlch(9.05, 19.59, 4.83°)
OKLaboklab(22.36% 0.0595 0.0045)
OKLCHoklch(22.36% 0.06 4.3)
XYZxyz(1.5755, 1.0069, 0.9754)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310D18 #0D3126
analogous
#310D2A #310D18 #31140D
triadic
#310D18 #18310D #0D1831
tetradic
#310D18 #2A310D #0D3126 #140D31
square
#310D18 #2A310D #0D3126 #140D31
split-complementary
#310D18 #0D3114 #0D2A31
monochromatic
#18060C #18060C #310D18 #611A30 #922747

Accessibility & contrast

On white

17.48
#310D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#310D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310D18
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310D18#FFFFFF#000000##FFFFFF
##310D181.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141518
Deuteranopia (green-blind)
#1E1C17
Tritanopia (blue-blind)
#360911
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310d18;
/* rgb */ color: rgb(49, 13, 24);
/* oklch */ color: oklch(22.4% 0.060 4.3);
Tailwind
colors: {
  custom: {
    50: '#6b4e54',
    500: '#310d18',
    950: '#000000',
  },
}
SCSS
$custom: #310d18;
$custom-light: #6b4e54;
$custom-dark: #000000;
JSON
{
  "hex": "#310d18",
  "rgb": {
    "r": 49,
    "g": 13,
    "b": 24
  },
  "hsl": {
    "h": 341.667,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22364,
    "c": 0.05968,
    "h": 4.3
  },
  "luminance": 0.01007
}

Semantic roles & 50–950 ramp

primary
#310D18
secondary
#2E6C59
accent
#E1B247
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310D18

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

Preview Lab → · Contrast checker → · Palette generator →

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