#310B1E#310B1E

#310B1E is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.3% C 0.066 H 352.8°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#310B1E
RGBrgb(49, 11, 30)
HSLhsl(330, 63%, 12%)
HSVhsv(330, 78%, 19%)
CMYKcmyk(0%, 77.6%, 38.8%, 80.8%)
CIE-LABlab(8.88, 21.47, -3.21)
CIE-LCHlch(8.88, 21.71, 351.51°)
OKLaboklab(22.31% 0.0655 -0.0082)
OKLCHoklch(22.31% 0.066 352.8)
XYZxyz(1.6207, 0.9862, 1.3331)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B1E #0B311E
analogous
#310B31 #310B1E #310B0B
triadic
#310B1E #1E310B #0B1E31
tetradic
#310B1E #31310B #0B311E #0B0B31
square
#310B1E #31310B #0B311E #0B0B31
split-complementary
#310B1E #0B310B #0B3131
monochromatic
#19060F #19060F #310B1E #63163D #95215B

Accessibility & contrast

On white

17.54
#310B1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#310B1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310B1E
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B1E#FFFFFF#000000##FFFFFF
##310B1E1.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11151F
Deuteranopia (green-blind)
#1B1C1D
Tritanopia (blue-blind)
#350913
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310b1e;
/* rgb */ color: rgb(49, 11, 30);
/* oklch */ color: oklch(22.3% 0.066 352.8);
Tailwind
colors: {
  custom: {
    50: '#6b4d59',
    500: '#310b1e',
    950: '#000000',
  },
}
SCSS
$custom: #310b1e;
$custom-light: #6b4d59;
$custom-dark: #000000;
JSON
{
  "hex": "#310b1e",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 30
  },
  "hsl": {
    "h": 330,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22312,
    "c": 0.06599,
    "h": 352.8
  },
  "luminance": 0.00986
}

Semantic roles & 50–950 ramp

primary
#310B1E
secondary
#2A6E4C
accent
#E69441
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #310B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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