#31121F#31121F

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

Color values

HEX#31121F
RGBrgb(49, 18, 31)
HSLhsl(335, 46%, 13%)
HSVhsv(335, 63%, 19%)
CMYKcmyk(0%, 63.3%, 36.7%, 80.8%)
CIE-LABlab(10.44, 17.55, -1.63)
CIE-LCHlch(10.44, 17.62, 354.68°)
OKLaboklab(23.49% 0.0533 -0.0041)
OKLCHoklch(23.49% 0.053 355.6)
XYZxyz(1.7303, 1.1847, 1.4336)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31121F #123124
analogous
#31122E #31121F #311412
triadic
#31121F #1F3112 #121F31
tetradic
#31121F #2E3112 #123124 #141231
square
#31121F #2E3112 #123124 #141231
split-complementary
#31121F #123114 #122E31
monochromatic
#16080E #16080E #31121F #5E223B #8B3358

Accessibility & contrast

On white

16.98
#31121F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31121F
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31121F#FFFFFF#000000##FFFFFF
##31121F1.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16191F
Deuteranopia (green-blind)
#1F1E1E
Tritanopia (blue-blind)
#351017
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #31121f;
/* rgb */ color: rgb(49, 18, 31);
/* oklch */ color: oklch(23.5% 0.053 355.6);
Tailwind
colors: {
  custom: {
    50: '#6b515a',
    500: '#31121f',
    950: '#000000',
  },
}
SCSS
$custom: #31121f;
$custom-light: #6b515a;
$custom-dark: #000000;
JSON
{
  "hex": "#31121f",
  "rgb": {
    "r": 49,
    "g": 18,
    "b": 31
  },
  "hsl": {
    "h": 334.839,
    "s": 46.269,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23492,
    "c": 0.05341,
    "h": 355.6
  },
  "luminance": 0.01185
}

Semantic roles & 50–950 ramp

primary
#31121F
secondary
#366954
accent
#D69F52
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070203
muted
#7A7878

Preview Lab

Preview with #31121F

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

Preview Lab → · Contrast checker → · Palette generator →

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