#310716#310716

#310716 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.4% C 0.069 H 3.2°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#310716
RGBrgb(49, 7, 22)
HSLhsl(339, 75%, 11%)
HSVhsv(339, 86%, 19%)
CMYKcmyk(0%, 85.7%, 55.1%, 80.8%)
CIE-LABlab(7.80, 22.50, 1.32)
CIE-LCHlch(7.80, 22.54, 3.36°)
OKLaboklab(21.41% 0.0689 0.0038)
OKLCHoklch(21.41% 0.069 3.2)
XYZxyz(1.4875, 0.8630, 0.8472)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310716 #073122
analogous
#31072B #310716 #310D07
triadic
#310716 #163107 #071631
tetradic
#310716 #2B3107 #073122 #0D0731
square
#310716 #2B3107 #073122 #0D0731
split-complementary
#310716 #07310D #072B31
monochromatic
#1B040C #1B040C #310716 #670F2E #9C1646

Accessibility & contrast

On white

17.91
#310716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#310716 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310716
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310716#FFFFFF#000000##FFFFFF
##3107161.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101216
Deuteranopia (green-blind)
#1B1A15
Tritanopia (blue-blind)
#36020D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310716;
/* rgb */ color: rgb(49, 7, 22);
/* oklch */ color: oklch(21.4% 0.069 3.2);
Tailwind
colors: {
  custom: {
    50: '#6c4a52',
    500: '#310716',
    950: '#000000',
  },
}
SCSS
$custom: #310716;
$custom-light: #6c4a52;
$custom-dark: #000000;
JSON
{
  "hex": "#310716",
  "rgb": {
    "r": 49,
    "g": 7,
    "b": 22
  },
  "hsl": {
    "h": 338.571,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2141,
    "c": 0.06901,
    "h": 3.2
  },
  "luminance": 0.00863
}

Semantic roles & 50–950 ramp

primary
#310716
secondary
#237155
accent
#F2AF36
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310716

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

Preview Lab → · Contrast checker → · Palette generator →

#310716 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva