#310B1D#310B1D

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

Color values

HEX#310B1D
RGBrgb(49, 11, 29)
HSLhsl(332, 63%, 12%)
HSVhsv(332, 78%, 19%)
CMYKcmyk(0%, 77.6%, 40.8%, 80.8%)
CIE-LABlab(8.83, 21.32, -2.50)
CIE-LCHlch(8.83, 21.47, 353.30°)
OKLaboklab(22.27% 0.0651 -0.0063)
OKLCHoklch(22.27% 0.065 354.4)
XYZxyz(1.6082, 0.9812, 1.2669)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B1D #0B311F
analogous
#310B30 #310B1D #310C0B
triadic
#310B1D #1D310B #0B1D31
tetradic
#310B1D #30310B #0B311F #0C0B31
square
#310B1D #30310B #0B311F #0C0B31
split-complementary
#310B1D #0B310C #0B3031
monochromatic
#19060F #19060F #310B1D #63163B #952158

Accessibility & contrast

On white

17.56
#310B1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310B1D
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B1D#FFFFFF#000000##FFFFFF
##310B1D1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11151E
Deuteranopia (green-blind)
#1C1C1C
Tritanopia (blue-blind)
#350812
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310b1d;
/* rgb */ color: rgb(49, 11, 29);
/* oklch */ color: oklch(22.3% 0.065 354.4);
Tailwind
colors: {
  custom: {
    50: '#6b4d58',
    500: '#310b1d',
    950: '#000000',
  },
}
SCSS
$custom: #310b1d;
$custom-light: #6b4d58;
$custom-dark: #000000;
JSON
{
  "hex": "#310b1d",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 29
  },
  "hsl": {
    "h": 331.579,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22267,
    "c": 0.06541,
    "h": 354.4
  },
  "luminance": 0.00981
}

Semantic roles & 50–950 ramp

primary
#310B1D
secondary
#2A6E4E
accent
#E69841
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #310B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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