#310E17#310E17

#310E17 is a very dark, muted pink. Relative luminance 0.010; OKLCH L 22.5% C 0.058 H 7.0°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#310E17
RGBrgb(49, 14, 23)
HSLhsl(345, 56%, 12%)
HSVhsv(345, 71%, 19%)
CMYKcmyk(0%, 71.4%, 53.1%, 80.8%)
CIE-LABlab(9.23, 18.81, 2.67)
CIE-LCHlch(9.23, 19.00, 8.08°)
OKLaboklab(22.49% 0.0572 0.0071)
OKLCHoklch(22.49% 0.058 7)
XYZxyz(1.5784, 1.0291, 0.9260)
Luminance0.0103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310E17 #0E3128
analogous
#310E29 #310E17 #31160E
triadic
#310E17 #17310E #0E1731
tetradic
#310E17 #29310E #0E3128 #160E31
square
#310E17 #29310E #0E3128 #160E31
split-complementary
#310E17 #0E3116 #0E2931
monochromatic
#18070B #18070B #310E17 #611C2D #902944

Accessibility & contrast

On white

17.42
#310E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#310E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310E17
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310E17#FFFFFF#000000##FFFFFF
##310E171.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151617
Deuteranopia (green-blind)
#1E1D16
Tritanopia (blue-blind)
#360A11
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310e17;
/* rgb */ color: rgb(49, 14, 23);
/* oklch */ color: oklch(22.5% 0.058 7.0);
Tailwind
colors: {
  custom: {
    50: '#6b4e53',
    500: '#310e17',
    950: '#000000',
  },
}
SCSS
$custom: #310e17;
$custom-light: #6b4e53;
$custom-dark: #000000;
JSON
{
  "hex": "#310e17",
  "rgb": {
    "r": 49,
    "g": 14,
    "b": 23
  },
  "hsl": {
    "h": 344.571,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22489,
    "c": 0.05766,
    "h": 7
  },
  "luminance": 0.01029
}

Semantic roles & 50–950 ramp

primary
#310E17
secondary
#2F6C5C
accent
#DFB849
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070202
muted
#7A7878

Preview Lab

Preview with #310E17

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

Preview Lab → · Contrast checker → · Palette generator →

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