#31091D#31091D

#31091D is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.0% C 0.069 H 353.5°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#31091D
RGBrgb(49, 9, 29)
HSLhsl(330, 69%, 11%)
HSVhsv(330, 82%, 19%)
CMYKcmyk(0%, 81.6%, 40.8%, 80.8%)
CIE-LABlab(8.46, 22.36, -3.06)
CIE-LCHlch(8.46, 22.57, 352.19°)
OKLaboklab(21.99% 0.0683 -0.0078)
OKLCHoklch(21.99% 0.069 353.5)
XYZxyz(1.5862, 0.9372, 1.2595)
Luminance0.0094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31091D #09311D
analogous
#310931 #31091D #310909
triadic
#31091D #1D3109 #091D31
tetradic
#31091D #313109 #09311D #090931
square
#31091D #313109 #09311D #090931
split-complementary
#31091D #093109 #093131
monochromatic
#1A050F #1A050F #31091D #65123C #981C5A

Accessibility & contrast

On white

17.69
#31091D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#31091D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31091D
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31091D#FFFFFF#000000##FFFFFF
##31091D1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10141E
Deuteranopia (green-blind)
#1B1B1C
Tritanopia (blue-blind)
#350611
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #31091d;
/* rgb */ color: rgb(49, 9, 29);
/* oklch */ color: oklch(22.0% 0.069 353.5);
Tailwind
colors: {
  custom: {
    50: '#6b4c58',
    500: '#31091d',
    950: '#000000',
  },
}
SCSS
$custom: #31091d;
$custom-light: #6b4c58;
$custom-dark: #000000;
JSON
{
  "hex": "#31091d",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 29
  },
  "hsl": {
    "h": 330,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21989,
    "c": 0.0688,
    "h": 353.5
  },
  "luminance": 0.00937
}

Semantic roles & 50–950 ramp

primary
#31091D
secondary
#276F4B
accent
#EC943C
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #31091D

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

Preview Lab → · Contrast checker → · Palette generator →

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