#310B24#310B24

#310B24 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.6% C 0.070 H 343.8°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#310B24
RGBrgb(49, 11, 36)
HSLhsl(321, 63%, 12%)
HSVhsv(321, 78%, 19%)
CMYKcmyk(0%, 77.6%, 26.5%, 80.8%)
CIE-LABlab(9.16, 22.45, -7.35)
CIE-LCHlch(9.16, 23.62, 341.88°)
OKLaboklab(22.61% 0.0674 -0.0196)
OKLCHoklch(22.61% 0.07 343.8)
XYZxyz(1.7048, 1.0199, 1.7758)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B24 #0B3118
analogous
#2B0B31 #310B24 #310B11
triadic
#310B24 #24310B #0B2431
tetradic
#310B24 #312B0B #0B3118 #0B1131
square
#310B24 #312B0B #0B3118 #0B1131
split-complementary
#310B24 #11310B #0B312B
monochromatic
#190612 #190612 #310B24 #631649 #95216D

Accessibility & contrast

On white

17.44
#310B24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310B24
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B24#FFFFFF#000000##FFFFFF
##310B241.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1625
Deuteranopia (green-blind)
#1A1C23
Tritanopia (blue-blind)
#350B16
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310b24;
/* rgb */ color: rgb(49, 11, 36);
/* oklch */ color: oklch(22.6% 0.070 343.8);
Tailwind
colors: {
  custom: {
    50: '#6b4d5e',
    500: '#310b24',
    950: '#000000',
  },
}
SCSS
$custom: #310b24;
$custom-light: #6b4d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#310b24",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 36
  },
  "hsl": {
    "h": 320.526,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22609,
    "c": 0.07022,
    "h": 343.8
  },
  "luminance": 0.0102
}

Semantic roles & 50–950 ramp

primary
#310B24
secondary
#2A6E41
accent
#E67A41
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #310B24

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

Preview Lab → · Contrast checker → · Palette generator →

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