#310D17#310D17

#310D17 is a very dark, muted pink. Relative luminance 0.010; OKLCH L 22.3% C 0.059 H 6.1°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#310D17
RGBrgb(49, 13, 23)
HSLhsl(343, 58%, 12%)
HSVhsv(343, 73%, 19%)
CMYKcmyk(0%, 73.5%, 53.1%, 80.8%)
CIE-LABlab(9.02, 19.38, 2.36)
CIE-LCHlch(9.02, 19.53, 6.95°)
OKLaboklab(22.33% 0.0591 0.0063)
OKLCHoklch(22.33% 0.059 6.1)
XYZxyz(1.5653, 1.0029, 0.9216)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310D17 #0D3127
analogous
#310D29 #310D17 #31150D
triadic
#310D17 #17310D #0D1731
tetradic
#310D17 #29310D #0D3127 #150D31
square
#310D17 #29310D #0D3127 #150D31
split-complementary
#310D17 #0D3115 #0D2931
monochromatic
#18060B #18060B #310D17 #611A2E #922744

Accessibility & contrast

On white

17.49
#310D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310D17
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310D17#FFFFFF#000000##FFFFFF
##310D171.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310d17;
/* rgb */ color: rgb(49, 13, 23);
/* oklch */ color: oklch(22.3% 0.059 6.1);
Tailwind
colors: {
  custom: {
    50: '#6c4e53',
    500: '#310d17',
    950: '#000000',
  },
}
SCSS
$custom: #310d17;
$custom-light: #6c4e53;
$custom-dark: #000000;
JSON
{
  "hex": "#310d17",
  "rgb": {
    "r": 49,
    "g": 13,
    "b": 23
  },
  "hsl": {
    "h": 343.333,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22328,
    "c": 0.05938,
    "h": 6.1
  },
  "luminance": 0.01003
}

Semantic roles & 50–950 ramp

primary
#310D17
secondary
#2E6C5B
accent
#E1B647
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310D17

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

Preview Lab → · Contrast checker → · Palette generator →

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