#310B16#310B16

#310B16 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.0% C 0.062 H 6.1°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#310B16
RGBrgb(49, 11, 22)
HSLhsl(343, 63%, 12%)
HSVhsv(343, 78%, 19%)
CMYKcmyk(0%, 77.6%, 55.1%, 80.8%)
CIE-LABlab(8.57, 20.37, 2.45)
CIE-LCHlch(8.57, 20.52, 6.87°)
OKLaboklab(21.99% 0.0621 0.0066)
OKLCHoklch(21.99% 0.062 6.1)
XYZxyz(1.5312, 0.9504, 0.8617)
Luminance0.0095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B16 #0B3126
analogous
#310B29 #310B16 #31130B
triadic
#310B16 #16310B #0B1631
tetradic
#310B16 #29310B #0B3126 #130B31
square
#310B16 #29310B #0B3126 #130B31
split-complementary
#310B16 #0B3113 #0B2931
monochromatic
#19060B #19060B #310B16 #63162C #952143

Accessibility & contrast

On white

17.65
#310B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#310B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310B16
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B16#FFFFFF#000000##FFFFFF
##310B161.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131416
Deuteranopia (green-blind)
#1D1B15
Tritanopia (blue-blind)
#36060F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310b16;
/* rgb */ color: rgb(49, 11, 22);
/* oklch */ color: oklch(22.0% 0.062 6.1);
Tailwind
colors: {
  custom: {
    50: '#6c4c52',
    500: '#310b16',
    950: '#000000',
  },
}
SCSS
$custom: #310b16;
$custom-light: #6c4c52;
$custom-dark: #000000;
JSON
{
  "hex": "#310b16",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 22
  },
  "hsl": {
    "h": 342.632,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21986,
    "c": 0.06243,
    "h": 6.1
  },
  "luminance": 0.0095
}

Semantic roles & 50–950 ramp

primary
#310B16
secondary
#2A6E5A
accent
#E6B741
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310B16

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

Preview Lab → · Contrast checker → · Palette generator →

#310B16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva