#31082A#31082A

#31082A is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.6% C 0.080 H 335.6°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#31082A
RGBrgb(49, 8, 42)
HSLhsl(310, 72%, 11%)
HSVhsv(310, 84%, 19%)
CMYKcmyk(0%, 83.7%, 14.3%, 80.8%)
CIE-LABlab(8.94, 25.06, -12.19)
CIE-LCHlch(8.94, 27.87, 334.05°)
OKLaboklab(22.56% 0.0733 -0.0332)
OKLCHoklch(22.56% 0.08 335.6)
XYZxyz(1.7714, 0.9940, 2.2886)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31082A #08310F
analogous
#230831 #31082A #310815
triadic
#31082A #2A3108 #082A31
tetradic
#31082A #312308 #08310F #081531
square
#31082A #312308 #08310F #081531
split-complementary
#31082A #153108 #083123
monochromatic
#1A0417 #1A0417 #31082A #661157 #9A1984

Accessibility & contrast

On white

17.52
#31082A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31082A
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31082A#FFFFFF#000000##FFFFFF
##31082A1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08152B
Deuteranopia (green-blind)
#161C29
Tritanopia (blue-blind)
#340B18
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #31082a;
/* rgb */ color: rgb(49, 8, 42);
/* oklch */ color: oklch(22.6% 0.080 335.6);
Tailwind
colors: {
  custom: {
    50: '#6b4c63',
    500: '#31082a',
    950: '#000000',
  },
}
SCSS
$custom: #31082a;
$custom-light: #6b4c63;
$custom-dark: #000000;
JSON
{
  "hex": "#31082a",
  "rgb": {
    "r": 49,
    "g": 8,
    "b": 42
  },
  "hsl": {
    "h": 310.244,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22561,
    "c": 0.08044,
    "h": 335.6
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#31082A
secondary
#257032
accent
#EF5839
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #31082A

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

Preview Lab → · Contrast checker → · Palette generator →

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