#310516#310516

#310516 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.1% C 0.073 H 1.8°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#310516
RGBrgb(49, 5, 22)
HSLhsl(337, 81%, 11%)
HSVhsv(337, 90%, 19%)
CMYKcmyk(0%, 89.8%, 55.1%, 80.8%)
CIE-LABlab(7.40, 23.58, 0.75)
CIE-LCHlch(7.40, 23.59, 1.82°)
OKLaboklab(21.11% 0.0726 0.0023)
OKLCHoklch(21.11% 0.073 1.8)
XYZxyz(1.4658, 0.8196, 0.8399)
Luminance0.0082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310516 #053120
analogous
#31052C #310516 #310A05
triadic
#310516 #163105 #051631
tetradic
#310516 #2C3105 #053120 #0A0531
square
#310516 #2C3105 #053120 #0A0531
split-complementary
#310516 #05310A #052C31
monochromatic
#1C030C #1C030C #310516 #690B2F #A01048

Accessibility & contrast

On white

18.04
#310516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#310516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310516
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310516#FFFFFF#000000##FFFFFF
##3105161.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1116
Deuteranopia (green-blind)
#1B1915
Tritanopia (blue-blind)
#36010C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310516;
/* rgb */ color: rgb(49, 5, 22);
/* oklch */ color: oklch(21.1% 0.073 1.8);
Tailwind
colors: {
  custom: {
    50: '#6c4952',
    500: '#310516',
    950: '#000000',
  },
}
SCSS
$custom: #310516;
$custom-light: #6c4952;
$custom-dark: #000000;
JSON
{
  "hex": "#310516",
  "rgb": {
    "r": 49,
    "g": 5,
    "b": 22
  },
  "hsl": {
    "h": 336.818,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21111,
    "c": 0.07259,
    "h": 1.8
  },
  "luminance": 0.00819
}

Semantic roles & 50–950 ramp

primary
#310516
secondary
#1F7252
accent
#F8AB30
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310516

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

Preview Lab → · Contrast checker → · Palette generator →

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