#310B1A#310B1A

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

Color values

HEX#310B1A
RGBrgb(49, 11, 26)
HSLhsl(336, 63%, 12%)
HSVhsv(336, 78%, 19%)
CMYKcmyk(0%, 77.6%, 46.9%, 80.8%)
CIE-LABlab(8.71, 20.89, -0.37)
CIE-LCHlch(8.71, 20.89, 358.98°)
OKLaboklab(22.14% 0.0639 -0.0007)
OKLCHoklch(22.14% 0.064 359.4)
XYZxyz(1.5728, 0.9671, 1.0809)
Luminance0.0097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B1A #0B3122
analogous
#310B2D #310B1A #310F0B
triadic
#310B1A #1A310B #0B1A31
tetradic
#310B1A #2D310B #0B3122 #0F0B31
square
#310B1A #2D310B #0B3122 #0F0B31
split-complementary
#310B1A #0B310F #0B2D31
monochromatic
#19060D #19060D #310B1A #631635 #95214F

Accessibility & contrast

On white

17.60
#310B1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310B1A
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B1A#FFFFFF#000000##FFFFFF
##310B1A1.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12141A
Deuteranopia (green-blind)
#1C1C19
Tritanopia (blue-blind)
#360711
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310b1a;
/* rgb */ color: rgb(49, 11, 26);
/* oklch */ color: oklch(22.1% 0.064 359.4);
Tailwind
colors: {
  custom: {
    50: '#6b4d56',
    500: '#310b1a',
    950: '#000000',
  },
}
SCSS
$custom: #310b1a;
$custom-light: #6b4d56;
$custom-dark: #000000;
JSON
{
  "hex": "#310b1a",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 26
  },
  "hsl": {
    "h": 336.316,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22139,
    "c": 0.06388,
    "h": 359.4
  },
  "luminance": 0.00967
}

Semantic roles & 50–950 ramp

primary
#310B1A
secondary
#2A6E53
accent
#E6A541
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #310B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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