#310D19#310D19

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

Color values

HEX#310D19
RGBrgb(49, 13, 25)
HSLhsl(340, 58%, 12%)
HSVhsv(340, 73%, 19%)
CMYKcmyk(0%, 73.5%, 49%, 80.8%)
CIE-LABlab(9.08, 19.65, 0.93)
CIE-LCHlch(9.08, 19.67, 2.72°)
OKLaboklab(22.4% 0.06 0.0027)
OKLCHoklch(22.4% 0.06 2.5)
XYZxyz(1.5861, 1.0112, 1.0312)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310D19 #0D3125
analogous
#310D2B #310D19 #31130D
triadic
#310D19 #19310D #0D1931
tetradic
#310D19 #2B310D #0D3125 #130D31
square
#310D19 #2B310D #0D3125 #130D31
split-complementary
#310D19 #0D3113 #0D2B31
monochromatic
#18060C #18060C #310D19 #611A32 #92274A

Accessibility & contrast

On white

17.47
#310D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310D19
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310D19#FFFFFF#000000##FFFFFF
##310D191.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141519
Deuteranopia (green-blind)
#1D1C18
Tritanopia (blue-blind)
#360912
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310d19;
/* rgb */ color: rgb(49, 13, 25);
/* oklch */ color: oklch(22.4% 0.060 2.5);
Tailwind
colors: {
  custom: {
    50: '#6b4e55',
    500: '#310d19',
    950: '#000000',
  },
}
SCSS
$custom: #310d19;
$custom-light: #6b4e55;
$custom-dark: #000000;
JSON
{
  "hex": "#310d19",
  "rgb": {
    "r": 49,
    "g": 13,
    "b": 25
  },
  "hsl": {
    "h": 340,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22402,
    "c": 0.06003,
    "h": 2.5
  },
  "luminance": 0.01011
}

Semantic roles & 50–950 ramp

primary
#310D19
secondary
#2E6C57
accent
#E1AE47
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070103
muted
#7A7778

Preview Lab

Preview with #310D19

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

Preview Lab → · Contrast checker → · Palette generator →

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