#31121E#31121E

#31121E is a very dark, muted pink. Relative luminance 0.012; OKLCH L 23.4% C 0.053 H 357.6°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#31121E
RGBrgb(49, 18, 30)
HSLhsl(337, 46%, 13%)
HSVhsv(337, 63%, 19%)
CMYKcmyk(0%, 63.3%, 38.8%, 80.8%)
CIE-LABlab(10.41, 17.39, -0.94)
CIE-LCHlch(10.41, 17.41, 356.91°)
OKLaboklab(23.45% 0.0528 -0.0022)
OKLCHoklch(23.45% 0.053 357.6)
XYZxyz(1.7174, 1.1795, 1.3653)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31121E #123125
analogous
#31122D #31121E #311512
triadic
#31121E #1E3112 #121E31
tetradic
#31121E #2D3112 #123125 #151231
square
#31121E #2D3112 #123125 #151231
split-complementary
#31121E #123115 #122D31
monochromatic
#16080E #16080E #31121E #5E2239 #8B3355

Accessibility & contrast

On white

16.99
#31121E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#31121E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31121E
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31121E#FFFFFF#000000##FFFFFF
##31121E1.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17191E
Deuteranopia (green-blind)
#1F1E1D
Tritanopia (blue-blind)
#351016
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #31121e;
/* rgb */ color: rgb(49, 18, 30);
/* oklch */ color: oklch(23.4% 0.053 357.6);
Tailwind
colors: {
  custom: {
    50: '#6b5159',
    500: '#31121e',
    950: '#000000',
  },
}
SCSS
$custom: #31121e;
$custom-light: #6b5159;
$custom-dark: #000000;
JSON
{
  "hex": "#31121e",
  "rgb": {
    "r": 49,
    "g": 18,
    "b": 30
  },
  "hsl": {
    "h": 336.774,
    "s": 46.269,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2345,
    "c": 0.05287,
    "h": 357.6
  },
  "luminance": 0.01179
}

Semantic roles & 50–950 ramp

primary
#31121E
secondary
#366955
accent
#D6A352
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070203
muted
#7A7878

Preview Lab

Preview with #31121E

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

Preview Lab → · Contrast checker → · Palette generator →

#31121E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva