#31092A#31092A

#31092A is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.7% C 0.079 H 335.7°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#31092A
RGBrgb(49, 9, 42)
HSLhsl(311, 69%, 11%)
HSVhsv(311, 82%, 19%)
CMYKcmyk(0%, 81.6%, 14.3%, 80.8%)
CIE-LABlab(9.12, 24.55, -11.91)
CIE-LCHlch(9.12, 27.29, 334.12°)
OKLaboklab(22.69% 0.0718 -0.0324)
OKLCHoklch(22.69% 0.079 335.7)
XYZxyz(1.7822, 1.0157, 2.2922)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31092A #093110
analogous
#240931 #31092A #310916
triadic
#31092A #2A3109 #092A31
tetradic
#31092A #312409 #093110 #091631
square
#31092A #312409 #093110 #091631
split-complementary
#31092A #163109 #093124
monochromatic
#1A0516 #1A0516 #31092A #651256 #981C83

Accessibility & contrast

On white

17.45
#31092A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#31092A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31092A
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31092A#FFFFFF#000000##FFFFFF
##31092A1.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09162B
Deuteranopia (green-blind)
#171C29
Tritanopia (blue-blind)
#340C18
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #31092a;
/* rgb */ color: rgb(49, 9, 42);
/* oklch */ color: oklch(22.7% 0.079 335.7);
Tailwind
colors: {
  custom: {
    50: '#6b4c63',
    500: '#31092a',
    950: '#000000',
  },
}
SCSS
$custom: #31092a;
$custom-light: #6b4c63;
$custom-dark: #000000;
JSON
{
  "hex": "#31092a",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 42
  },
  "hsl": {
    "h": 310.5,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22691,
    "c": 0.07875,
    "h": 335.7
  },
  "luminance": 0.01016
}

Semantic roles & 50–950 ramp

primary
#31092A
secondary
#276F33
accent
#EC5B3C
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #31092A

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

Preview Lab → · Contrast checker → · Palette generator →

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