#310E18#310E18

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

Color values

HEX#310E18
RGBrgb(49, 14, 24)
HSLhsl(343, 56%, 12%)
HSVhsv(343, 71%, 19%)
CMYKcmyk(0%, 71.4%, 51%, 80.8%)
CIE-LABlab(9.27, 18.94, 1.96)
CIE-LCHlch(9.27, 19.04, 5.92°)
OKLaboklab(22.53% 0.0577 0.0053)
OKLCHoklch(22.53% 0.058 5.2)
XYZxyz(1.5886, 1.0332, 0.9797)
Luminance0.0103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310E18 #0E3127
analogous
#310E2A #310E18 #31150E
triadic
#310E18 #18310E #0E1831
tetradic
#310E18 #2A310E #0E3127 #150E31
square
#310E18 #2A310E #0E3127 #150E31
split-complementary
#310E18 #0E3115 #0E2A31
monochromatic
#18070C #18070C #310E18 #611C2F #902947

Accessibility & contrast

On white

17.40
#310E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310E18
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310E18#FFFFFF#000000##FFFFFF
##310E181.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151618
Deuteranopia (green-blind)
#1E1D17
Tritanopia (blue-blind)
#360A12
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310e18;
/* rgb */ color: rgb(49, 14, 24);
/* oklch */ color: oklch(22.5% 0.058 5.2);
Tailwind
colors: {
  custom: {
    50: '#6b4e54',
    500: '#310e18',
    950: '#000000',
  },
}
SCSS
$custom: #310e18;
$custom-light: #6b4e54;
$custom-dark: #000000;
JSON
{
  "hex": "#310e18",
  "rgb": {
    "r": 49,
    "g": 14,
    "b": 24
  },
  "hsl": {
    "h": 342.857,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22525,
    "c": 0.05794,
    "h": 5.2
  },
  "luminance": 0.01033
}

Semantic roles & 50–950 ramp

primary
#310E18
secondary
#2F6C5A
accent
#DFB449
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070202
muted
#7A7878

Preview Lab

Preview with #310E18

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

Preview Lab → · Contrast checker → · Palette generator →

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