#310E1A#310E1A

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

Color values

HEX#310E1A
RGBrgb(49, 14, 26)
HSLhsl(339, 56%, 12%)
HSVhsv(339, 71%, 19%)
CMYKcmyk(0%, 71.4%, 46.9%, 80.8%)
CIE-LABlab(9.33, 19.21, 0.53)
CIE-LCHlch(9.33, 19.22, 1.59°)
OKLaboklab(22.6% 0.0586 0.0016)
OKLCHoklch(22.6% 0.059 1.6)
XYZxyz(1.6102, 1.0418, 1.0934)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310E1A #0E3125
analogous
#310E2C #310E1A #31140E
triadic
#310E1A #1A310E #0E1A31
tetradic
#310E1A #2C310E #0E3125 #140E31
square
#310E1A #2C310E #0E3125 #140E31
split-complementary
#310E1A #0E3114 #0E2C31
monochromatic
#18070D #18070D #310E1A #611C33 #90294D

Accessibility & contrast

On white

17.38
#310E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310E1A
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310E1A#FFFFFF#000000##FFFFFF
##310E1A1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14161A
Deuteranopia (green-blind)
#1E1D19
Tritanopia (blue-blind)
#360B13
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310e1a;
/* rgb */ color: rgb(49, 14, 26);
/* oklch */ color: oklch(22.6% 0.059 1.6);
Tailwind
colors: {
  custom: {
    50: '#6b4e56',
    500: '#310e1a',
    950: '#000000',
  },
}
SCSS
$custom: #310e1a;
$custom-light: #6b4e56;
$custom-dark: #000000;
JSON
{
  "hex": "#310e1a",
  "rgb": {
    "r": 49,
    "g": 14,
    "b": 26
  },
  "hsl": {
    "h": 339.429,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22601,
    "c": 0.05863,
    "h": 1.6
  },
  "luminance": 0.01042
}

Semantic roles & 50–950 ramp

primary
#310E1A
secondary
#2F6C57
accent
#DFAB49
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070203
muted
#7A7878

Preview Lab

Preview with #310E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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