#310D24#310D24

#310D24 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 22.9% C 0.067 H 344.4°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#310D24
RGBrgb(49, 13, 36)
HSLhsl(322, 58%, 12%)
HSVhsv(322, 73%, 19%)
CMYKcmyk(0%, 73.5%, 26.5%, 80.8%)
CIE-LABlab(9.55, 21.38, -6.75)
CIE-LCHlch(9.55, 22.41, 342.48°)
OKLaboklab(22.9% 0.0642 -0.0179)
OKLCHoklch(22.9% 0.067 344.4)
XYZxyz(1.7290, 1.0684, 1.7839)
Luminance0.0107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310D24 #0D311A
analogous
#2C0D31 #310D24 #310D12
triadic
#310D24 #24310D #0D2431
tetradic
#310D24 #312C0D #0D311A #0D1231
square
#310D24 #312C0D #0D311A #0D1231
split-complementary
#310D24 #12310D #0D312C
monochromatic
#180612 #180612 #310D24 #611A48 #92276B

Accessibility & contrast

On white

17.30
#310D24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#310D24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310D24
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310D24#FFFFFF#000000##FFFFFF
##310D241.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101725
Deuteranopia (green-blind)
#1B1D23
Tritanopia (blue-blind)
#350D16
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #310d24;
/* rgb */ color: rgb(49, 13, 36);
/* oklch */ color: oklch(22.9% 0.067 344.4);
Tailwind
colors: {
  custom: {
    50: '#6b4e5e',
    500: '#310d24',
    950: '#000000',
  },
}
SCSS
$custom: #310d24;
$custom-light: #6b4e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#310d24",
  "rgb": {
    "r": 49,
    "g": 13,
    "b": 36
  },
  "hsl": {
    "h": 321.667,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22898,
    "c": 0.06662,
    "h": 344.4
  },
  "luminance": 0.01068
}

Semantic roles & 50–950 ramp

primary
#310D24
secondary
#2E6C44
accent
#E17E47
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #310D24

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

Preview Lab → · Contrast checker → · Palette generator →

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