#31111D#31111D

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

Color values

HEX#31111D
RGBrgb(49, 17, 29)
HSLhsl(338, 48%, 13%)
HSVhsv(338, 65%, 19%)
CMYKcmyk(0%, 65.3%, 40.8%, 80.8%)
CIE-LABlab(10.13, 17.85, -0.59)
CIE-LCHlch(10.13, 17.86, 358.10°)
OKLaboklab(23.23% 0.0543 -0.0013)
OKLCHoklch(23.23% 0.054 358.6)
XYZxyz(1.6889, 1.1427, 1.2938)
Luminance0.0114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31111D #113125
analogous
#31112D #31111D #311511
triadic
#31111D #1D3111 #111D31
tetradic
#31111D #2D3111 #113125 #151131
square
#31111D #2D3111 #113125 #151131
split-complementary
#31111D #113115 #112D31
monochromatic
#17080D #17080D #31111D #5E2138 #8C3153

Accessibility & contrast

On white

17.09
#31111D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31111D
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31111D#FFFFFF#000000##FFFFFF
##31111D1.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16181D
Deuteranopia (green-blind)
#1E1E1C
Tritanopia (blue-blind)
#350F15
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #31111d;
/* rgb */ color: rgb(49, 17, 29);
/* oklch */ color: oklch(23.2% 0.054 358.6);
Tailwind
colors: {
  custom: {
    50: '#6b5058',
    500: '#31111d',
    950: '#000000',
  },
}
SCSS
$custom: #31111d;
$custom-light: #6b5058;
$custom-dark: #000000;
JSON
{
  "hex": "#31111d",
  "rgb": {
    "r": 49,
    "g": 17,
    "b": 29
  },
  "hsl": {
    "h": 337.5,
    "s": 48.485,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2323,
    "c": 0.05434,
    "h": 358.6
  },
  "luminance": 0.01143
}

Semantic roles & 50–950 ramp

primary
#31111D
secondary
#346A56
accent
#D8A550
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070203
muted
#7A7878

Preview Lab

Preview with #31111D

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

Preview Lab → · Contrast checker → · Palette generator →

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