#31111C#31111C

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

Color values

HEX#31111C
RGBrgb(49, 17, 28)
HSLhsl(339, 48%, 13%)
HSVhsv(339, 65%, 19%)
CMYKcmyk(0%, 65.3%, 42.9%, 80.8%)
CIE-LABlab(10.09, 17.70, 0.11)
CIE-LCHlch(10.09, 17.70, 0.36°)
OKLaboklab(23.19% 0.0539 0.0005)
OKLCHoklch(23.19% 0.054 0.6)
XYZxyz(1.6768, 1.1379, 1.2297)
Luminance0.0114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31111C #113126
analogous
#31112C #31111C #311611
triadic
#31111C #1C3111 #111C31
tetradic
#31111C #2C3111 #113126 #161131
square
#31111C #2C3111 #113126 #161131
split-complementary
#31111C #113116 #112C31
monochromatic
#17080D #17080D #31111C #5E2136 #8C3150

Accessibility & contrast

On white

17.11
#31111C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31111C
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31111C#FFFFFF#000000##FFFFFF
##31111C1.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16181C
Deuteranopia (green-blind)
#1F1E1B
Tritanopia (blue-blind)
#350E15
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #31111c;
/* rgb */ color: rgb(49, 17, 28);
/* oklch */ color: oklch(23.2% 0.054 0.6);
Tailwind
colors: {
  custom: {
    50: '#6b5057',
    500: '#31111c',
    950: '#000000',
  },
}
SCSS
$custom: #31111c;
$custom-light: #6b5057;
$custom-dark: #000000;
JSON
{
  "hex": "#31111c",
  "rgb": {
    "r": 49,
    "g": 17,
    "b": 28
  },
  "hsl": {
    "h": 339.375,
    "s": 48.485,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2319,
    "c": 0.05387,
    "h": 0.6
  },
  "luminance": 0.01138
}

Semantic roles & 50–950 ramp

primary
#31111C
secondary
#346A57
accent
#D8A950
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070203
muted
#7A7878

Preview Lab

Preview with #31111C

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

Preview Lab → · Contrast checker → · Palette generator →

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