#31111B#31111B

#31111B is a very dark, muted pink. Relative luminance 0.011; OKLCH L 23.2% C 0.053 H 2.5°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#31111B
RGBrgb(49, 17, 27)
HSLhsl(341, 48%, 13%)
HSVhsv(341, 65%, 19%)
CMYKcmyk(0%, 65.3%, 44.9%, 80.8%)
CIE-LABlab(10.06, 17.55, 0.82)
CIE-LCHlch(10.06, 17.57, 2.67°)
OKLaboklab(23.15% 0.0534 0.0023)
OKLCHoklch(23.15% 0.053 2.5)
XYZxyz(1.6650, 1.1332, 1.1677)
Luminance0.0113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31111B #113127
analogous
#31112B #31111B #311711
triadic
#31111B #1B3111 #111B31
tetradic
#31111B #2B3111 #113127 #171131
square
#31111B #2B3111 #113127 #171131
split-complementary
#31111B #113117 #112B31
monochromatic
#17080D #17080D #31111B #5E2134 #8C314D

Accessibility & contrast

On white

17.12
#31111B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#31111B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31111B
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31111B#FFFFFF#000000##FFFFFF
##31111B1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17181B
Deuteranopia (green-blind)
#1F1E1A
Tritanopia (blue-blind)
#350E15
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #31111b;
/* rgb */ color: rgb(49, 17, 27);
/* oklch */ color: oklch(23.2% 0.053 2.5);
Tailwind
colors: {
  custom: {
    50: '#6b5057',
    500: '#31111b',
    950: '#000000',
  },
}
SCSS
$custom: #31111b;
$custom-light: #6b5057;
$custom-dark: #000000;
JSON
{
  "hex": "#31111b",
  "rgb": {
    "r": 49,
    "g": 17,
    "b": 27
  },
  "hsl": {
    "h": 341.25,
    "s": 48.485,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23151,
    "c": 0.05347,
    "h": 2.5
  },
  "luminance": 0.01133
}

Semantic roles & 50–950 ramp

primary
#31111B
secondary
#346A59
accent
#D8AD50
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070203
muted
#7A7878

Preview Lab

Preview with #31111B

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

Preview Lab → · Contrast checker → · Palette generator →

#31111B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva