#31031D#31031D

#31031D is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.1% C 0.080 H 350.9°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#31031D
RGBrgb(49, 3, 29)
HSLhsl(326, 88%, 10%)
HSVhsv(326, 94%, 19%)
CMYKcmyk(0%, 93.9%, 40.8%, 80.8%)
CIE-LABlab(7.29, 25.62, -4.82)
CIE-LCHlch(7.29, 26.06, 349.35°)
OKLaboklab(21.12% 0.0789 -0.0126)
OKLCHoklch(21.12% 0.08 350.9)
XYZxyz(1.5211, 0.8070, 1.2378)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31031D #033117
analogous
#2E0331 #31031D #310306
triadic
#31031D #1D3103 #031D31
tetradic
#31031D #312E03 #033117 #030631
square
#31031D #312E03 #033117 #030631
split-complementary
#31031D #063103 #03312E
monochromatic
#1D0211 #1D0211 #31031D #6B073F #A40A61

Accessibility & contrast

On white

18.08
#31031D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#31031D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31031D
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31031D#FFFFFF#000000##FFFFFF
##31031D1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A111E
Deuteranopia (green-blind)
#18191C
Tritanopia (blue-blind)
#36010E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #31031d;
/* rgb */ color: rgb(49, 3, 29);
/* oklch */ color: oklch(21.1% 0.080 350.9);
Tailwind
colors: {
  custom: {
    50: '#6c4858',
    500: '#31031d',
    950: '#000000',
  },
}
SCSS
$custom: #31031d;
$custom-light: #6c4858;
$custom-dark: #000000;
JSON
{
  "hex": "#31031d",
  "rgb": {
    "r": 49,
    "g": 3,
    "b": 29
  },
  "hsl": {
    "h": 326.087,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21119,
    "c": 0.07993,
    "h": 350.9
  },
  "luminance": 0.00807
}

Semantic roles & 50–950 ramp

primary
#31031D
secondary
#1B7442
accent
#FF8629
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #31031D

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

Preview Lab → · Contrast checker → · Palette generator →

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