#31081A#31081A

#31081A is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.7% C 0.069 H 357.6°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#31081A
RGBrgb(49, 8, 26)
HSLhsl(334, 72%, 11%)
HSVhsv(334, 84%, 19%)
CMYKcmyk(0%, 83.7%, 46.9%, 80.8%)
CIE-LABlab(8.14, 22.46, -1.22)
CIE-LCHlch(8.14, 22.50, 356.90°)
OKLaboklab(21.72% 0.0689 -0.0029)
OKLCHoklch(21.72% 0.069 357.6)
XYZxyz(1.5400, 0.9014, 1.0700)
Luminance0.0090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31081A #08311F
analogous
#31082E #31081A #310A08
triadic
#31081A #1A3108 #081A31
tetradic
#31081A #2E3108 #08311F #0A0831
square
#31081A #2E3108 #08311F #0A0831
split-complementary
#31081A #08310A #082E31
monochromatic
#1A040E #1A040E #31081A #661136 #9A1952

Accessibility & contrast

On white

17.79
#31081A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#31081A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31081A
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31081A#FFFFFF#000000##FFFFFF
##31081A1.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10131A
Deuteranopia (green-blind)
#1B1B19
Tritanopia (blue-blind)
#36050F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #31081a;
/* rgb */ color: rgb(49, 8, 26);
/* oklch */ color: oklch(21.7% 0.069 357.6);
Tailwind
colors: {
  custom: {
    50: '#6c4b56',
    500: '#31081a',
    950: '#000000',
  },
}
SCSS
$custom: #31081a;
$custom-light: #6c4b56;
$custom-dark: #000000;
JSON
{
  "hex": "#31081a",
  "rgb": {
    "r": 49,
    "g": 8,
    "b": 26
  },
  "hsl": {
    "h": 333.659,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21716,
    "c": 0.06892,
    "h": 357.6
  },
  "luminance": 0.00901
}

Semantic roles & 50–950 ramp

primary
#31081A
secondary
#25704F
accent
#EF9F39
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #31081A

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

Preview Lab → · Contrast checker → · Palette generator →

#31081A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva