#310A1E#310A1E

#310A1E is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.2% C 0.068 H 352.4°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#310A1E
RGBrgb(49, 10, 30)
HSLhsl(329, 66%, 12%)
HSVhsv(329, 80%, 19%)
CMYKcmyk(0%, 79.6%, 38.8%, 80.8%)
CIE-LABlab(8.69, 21.99, -3.49)
CIE-LCHlch(8.69, 22.26, 350.99°)
OKLaboklab(22.17% 0.0671 -0.009)
OKLCHoklch(22.17% 0.068 352.4)
XYZxyz(1.6096, 0.9640, 1.3293)
Luminance0.0096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A1E #0A311D
analogous
#310A31 #310A1E #310A0B
triadic
#310A1E #1E310A #0A1E31
tetradic
#310A1E #31310A #0A311D #0A0B31
square
#310A1E #31310A #0A311D #0A0B31
split-complementary
#310A1E #0B310A #0A3131
monochromatic
#190510 #190510 #310A1E #64143D #971F5C

Accessibility & contrast

On white

17.61
#310A1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310A1E
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A1E#FFFFFF#000000##FFFFFF
##310A1E1.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10141F
Deuteranopia (green-blind)
#1B1B1D
Tritanopia (blue-blind)
#350812
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310a1e;
/* rgb */ color: rgb(49, 10, 30);
/* oklch */ color: oklch(22.2% 0.068 352.4);
Tailwind
colors: {
  custom: {
    50: '#6b4c59',
    500: '#310a1e',
    950: '#000000',
  },
}
SCSS
$custom: #310a1e;
$custom-light: #6b4c59;
$custom-dark: #000000;
JSON
{
  "hex": "#310a1e",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 30
  },
  "hsl": {
    "h": 329.231,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22173,
    "c": 0.06769,
    "h": 352.4
  },
  "luminance": 0.00964
}

Semantic roles & 50–950 ramp

primary
#310A1E
secondary
#296E4B
accent
#E9923F
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #310A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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