#310A16#310A16

#310A16 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.8% C 0.064 H 5.3°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#310A16
RGBrgb(49, 10, 22)
HSLhsl(342, 66%, 12%)
HSVhsv(342, 80%, 19%)
CMYKcmyk(0%, 79.6%, 55.1%, 80.8%)
CIE-LABlab(8.38, 20.89, 2.17)
CIE-LCHlch(8.38, 21.01, 5.94°)
OKLaboklab(21.84% 0.0638 0.0059)
OKLCHoklch(21.84% 0.064 5.3)
XYZxyz(1.5201, 0.9282, 0.8580)
Luminance0.0093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A16 #0A3125
analogous
#310A2A #310A16 #31120A
triadic
#310A16 #16310A #0A1631
tetradic
#310A16 #2A310A #0A3125 #120A31
square
#310A16 #2A310A #0A3125 #120A31
split-complementary
#310A16 #0A3112 #0A2A31
monochromatic
#19050B #19050B #310A16 #64142D #971F44

Accessibility & contrast

On white

17.71
#310A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310A16
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A16#FFFFFF#000000##FFFFFF
##310A161.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121316
Deuteranopia (green-blind)
#1D1B15
Tritanopia (blue-blind)
#36050F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310a16;
/* rgb */ color: rgb(49, 10, 22);
/* oklch */ color: oklch(21.8% 0.064 5.3);
Tailwind
colors: {
  custom: {
    50: '#6c4c52',
    500: '#310a16',
    950: '#000000',
  },
}
SCSS
$custom: #310a16;
$custom-light: #6c4c52;
$custom-dark: #000000;
JSON
{
  "hex": "#310a16",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 22
  },
  "hsl": {
    "h": 341.538,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21842,
    "c": 0.06403,
    "h": 5.3
  },
  "luminance": 0.00928
}

Semantic roles & 50–950 ramp

primary
#310A16
secondary
#296E59
accent
#E9B53F
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310A16

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

Preview Lab → · Contrast checker → · Palette generator →

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