#310E1B#310E1B

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

Color values

HEX#310E1B
RGBrgb(49, 14, 27)
HSLhsl(338, 56%, 12%)
HSVhsv(338, 71%, 19%)
CMYKcmyk(0%, 71.4%, 44.9%, 80.8%)
CIE-LABlab(9.37, 19.36, -0.18)
CIE-LCHlch(9.37, 19.36, 359.47°)
OKLaboklab(22.64% 0.0591 -0.0002)
OKLCHoklch(22.64% 0.059 359.8)
XYZxyz(1.6216, 1.0464, 1.1533)
Luminance0.0105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310E1B #0E3124
analogous
#310E2D #310E1B #31120E
triadic
#310E1B #1B310E #0E1B31
tetradic
#310E1B #2D310E #0E3124 #120E31
square
#310E1B #2D310E #0E3124 #120E31
split-complementary
#310E1B #0E3112 #0E2D31
monochromatic
#18070D #18070D #310E1B #611C35 #90294F

Accessibility & contrast

On white

17.37
#310E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310E1B
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310E1B#FFFFFF#000000##FFFFFF
##310E1B1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310e1b;
/* rgb */ color: rgb(49, 14, 27);
/* oklch */ color: oklch(22.6% 0.059 359.8);
Tailwind
colors: {
  custom: {
    50: '#6b4e57',
    500: '#310e1b',
    950: '#000000',
  },
}
SCSS
$custom: #310e1b;
$custom-light: #6b4e57;
$custom-dark: #000000;
JSON
{
  "hex": "#310e1b",
  "rgb": {
    "r": 49,
    "g": 14,
    "b": 27
  },
  "hsl": {
    "h": 337.714,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2264,
    "c": 0.05905,
    "h": 359.8
  },
  "luminance": 0.01046
}

Semantic roles & 50–950 ramp

primary
#310E1B
secondary
#2F6C55
accent
#DFA749
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070203
muted
#7A7878

Preview Lab

Preview with #310E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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