#310A24#310A24

#310A24 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.5% C 0.072 H 343.6°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#310A24
RGBrgb(49, 10, 36)
HSLhsl(320, 66%, 12%)
HSVhsv(320, 80%, 19%)
CMYKcmyk(0%, 79.6%, 26.5%, 80.8%)
CIE-LABlab(8.97, 22.96, -7.63)
CIE-LCHlch(8.97, 24.20, 341.62°)
OKLaboklab(22.47% 0.069 -0.0204)
OKLCHoklch(22.47% 0.072 343.6)
XYZxyz(1.6937, 0.9976, 1.7721)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A24 #0A3117
analogous
#2B0A31 #310A24 #310A11
triadic
#310A24 #24310A #0A2431
tetradic
#310A24 #312B0A #0A3117 #0A1131
square
#310A24 #312B0A #0A3117 #0A1131
split-complementary
#310A24 #11310A #0A312B
monochromatic
#190513 #190513 #310A24 #641449 #971F6F

Accessibility & contrast

On white

17.51
#310A24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310A24
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A24#FFFFFF#000000##FFFFFF
##310A241.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1525
Deuteranopia (green-blind)
#191C23
Tritanopia (blue-blind)
#350A15
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310a24;
/* rgb */ color: rgb(49, 10, 36);
/* oklch */ color: oklch(22.5% 0.072 343.6);
Tailwind
colors: {
  custom: {
    50: '#6b4c5e',
    500: '#310a24',
    950: '#000000',
  },
}
SCSS
$custom: #310a24;
$custom-light: #6b4c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#310a24",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 36
  },
  "hsl": {
    "h": 320,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22474,
    "c": 0.07193,
    "h": 343.6
  },
  "luminance": 0.00997
}

Semantic roles & 50–950 ramp

primary
#310A24
secondary
#296E40
accent
#E9783F
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #310A24

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

Preview Lab → · Contrast checker → · Palette generator →

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