#31091F#31091F

#31091F is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.1% C 0.070 H 350.4°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#31091F
RGBrgb(49, 9, 31)
HSLhsl(327, 69%, 11%)
HSVhsv(327, 82%, 19%)
CMYKcmyk(0%, 81.6%, 36.7%, 80.8%)
CIE-LABlab(8.55, 22.66, -4.47)
CIE-LCHlch(8.55, 23.09, 348.84°)
OKLaboklab(22.08% 0.0691 -0.0116)
OKLCHoklch(22.08% 0.07 350.4)
XYZxyz(1.6117, 0.9474, 1.3941)
Luminance0.0095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31091F #09311B
analogous
#2F0931 #31091F #31090B
triadic
#31091F #1F3109 #091F31
tetradic
#31091F #312F09 #09311B #090B31
square
#31091F #312F09 #09311B #090B31
split-complementary
#31091F #0B3109 #09312F
monochromatic
#1A0510 #1A0510 #31091F #651240 #981C60

Accessibility & contrast

On white

17.66
#31091F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31091F
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31091F#FFFFFF#000000##FFFFFF
##31091F1.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1420
Deuteranopia (green-blind)
#1A1B1E
Tritanopia (blue-blind)
#350712
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #31091f;
/* rgb */ color: rgb(49, 9, 31);
/* oklch */ color: oklch(22.1% 0.070 350.4);
Tailwind
colors: {
  custom: {
    50: '#6b4c5a',
    500: '#31091f',
    950: '#000000',
  },
}
SCSS
$custom: #31091f;
$custom-light: #6b4c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#31091f",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 31
  },
  "hsl": {
    "h": 327,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22083,
    "c": 0.07002,
    "h": 350.4
  },
  "luminance": 0.00947
}

Semantic roles & 50–950 ramp

primary
#31091F
secondary
#276F47
accent
#EC8B3C
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #31091F

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

Preview Lab → · Contrast checker → · Palette generator →

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