#31091B#31091B

#31091B is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.9% C 0.068 H 356.6°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#31091B
RGBrgb(49, 9, 27)
HSLhsl(333, 69%, 11%)
HSVhsv(333, 82%, 19%)
CMYKcmyk(0%, 81.6%, 44.9%, 80.8%)
CIE-LABlab(8.37, 22.07, -1.65)
CIE-LCHlch(8.37, 22.13, 355.73°)
OKLaboklab(21.9% 0.0676 -0.004)
OKLCHoklch(21.9% 0.068 356.6)
XYZxyz(1.5622, 0.9277, 1.1335)
Luminance0.0093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31091B #09311F
analogous
#31092F #31091B #310B09
triadic
#31091B #1B3109 #091B31
tetradic
#31091B #2F3109 #09311F #0B0931
square
#31091B #2F3109 #09311F #0B0931
split-complementary
#31091B #09310B #092F31
monochromatic
#1A050E #1A050E #31091B #651237 #981C54

Accessibility & contrast

On white

17.72
#31091B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31091B
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31091B#FFFFFF#000000##FFFFFF
##31091B1.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10141B
Deuteranopia (green-blind)
#1B1B1A
Tritanopia (blue-blind)
#360610
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #31091b;
/* rgb */ color: rgb(49, 9, 27);
/* oklch */ color: oklch(21.9% 0.068 356.6);
Tailwind
colors: {
  custom: {
    50: '#6c4b57',
    500: '#31091b',
    950: '#000000',
  },
}
SCSS
$custom: #31091b;
$custom-light: #6c4b57;
$custom-dark: #000000;
JSON
{
  "hex": "#31091b",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 27
  },
  "hsl": {
    "h": 333,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.219,
    "c": 0.0677,
    "h": 356.6
  },
  "luminance": 0.00927
}

Semantic roles & 50–950 ramp

primary
#31091B
secondary
#276F4F
accent
#EC9D3C
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #31091B

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

Preview Lab → · Contrast checker → · Palette generator →

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