#310C16#310C16

#310C16 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.1% C 0.061 H 6.9°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#310C16
RGBrgb(49, 12, 22)
HSLhsl(344, 61%, 12%)
HSVhsv(344, 76%, 19%)
CMYKcmyk(0%, 75.5%, 55.1%, 80.8%)
CIE-LABlab(8.77, 19.82, 2.74)
CIE-LCHlch(8.77, 20.01, 7.88°)
OKLaboklab(22.14% 0.0604 0.0074)
OKLCHoklch(22.14% 0.061 6.9)
XYZxyz(1.5430, 0.9740, 0.8656)
Luminance0.0097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310C16 #0C3127
analogous
#310C29 #310C16 #31150C
triadic
#310C16 #16310C #0C1631
tetradic
#310C16 #29310C #0C3127 #150C31
square
#310C16 #29310C #0C3127 #150C31
split-complementary
#310C16 #0C3115 #0C2931
monochromatic
#19060B #19060B #310C16 #62182C #932442

Accessibility & contrast

On white

17.58
#310C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310C16
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310C16#FFFFFF#000000##FFFFFF
##310C161.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141416
Deuteranopia (green-blind)
#1D1C15
Tritanopia (blue-blind)
#360710
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310c16;
/* rgb */ color: rgb(49, 12, 22);
/* oklch */ color: oklch(22.1% 0.061 6.9);
Tailwind
colors: {
  custom: {
    50: '#6c4d52',
    500: '#310c16',
    950: '#000000',
  },
}
SCSS
$custom: #310c16;
$custom-light: #6c4d52;
$custom-dark: #000000;
JSON
{
  "hex": "#310c16",
  "rgb": {
    "r": 49,
    "g": 12,
    "b": 22
  },
  "hsl": {
    "h": 343.784,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22136,
    "c": 0.0608,
    "h": 6.9
  },
  "luminance": 0.00974
}

Semantic roles & 50–950 ramp

primary
#310C16
secondary
#2C6D5B
accent
#E4B944
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310C16

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

Preview Lab → · Contrast checker → · Palette generator →

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