#31081E#31081E

#31081E is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.9% C 0.071 H 351.5°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#31081E
RGBrgb(49, 8, 30)
HSLhsl(328, 72%, 11%)
HSVhsv(328, 84%, 19%)
CMYKcmyk(0%, 83.7%, 38.8%, 80.8%)
CIE-LABlab(8.31, 23.03, -4.05)
CIE-LCHlch(8.31, 23.38, 350.02°)
OKLaboklab(21.9% 0.0704 -0.0105)
OKLCHoklch(21.9% 0.071 351.5)
XYZxyz(1.5879, 0.9206, 1.3221)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31081E #08311B
analogous
#2F0831 #31081E #310809
triadic
#31081E #1E3108 #081E31
tetradic
#31081E #312F08 #08311B #080931
square
#31081E #312F08 #08311B #080931
split-complementary
#31081E #093108 #08312F
monochromatic
#1A0410 #1A0410 #31081E #66113E #9A195E

Accessibility & contrast

On white

17.74
#31081E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31081E
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31081E#FFFFFF#000000##FFFFFF
##31081E1.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E131F
Deuteranopia (green-blind)
#1A1B1D
Tritanopia (blue-blind)
#350611
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #31081e;
/* rgb */ color: rgb(49, 8, 30);
/* oklch */ color: oklch(21.9% 0.071 351.5);
Tailwind
colors: {
  custom: {
    50: '#6b4b59',
    500: '#31081e',
    950: '#000000',
  },
}
SCSS
$custom: #31081e;
$custom-light: #6b4b59;
$custom-dark: #000000;
JSON
{
  "hex": "#31081e",
  "rgb": {
    "r": 49,
    "g": 8,
    "b": 30
  },
  "hsl": {
    "h": 327.805,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21896,
    "c": 0.07114,
    "h": 351.5
  },
  "luminance": 0.0092
}

Semantic roles & 50–950 ramp

primary
#31081E
secondary
#257048
accent
#EF8D39
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #31081E

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

Preview Lab → · Contrast checker → · Palette generator →

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