#310E24#310E24

#310E24 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.1% C 0.065 H 344.7°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#310E24
RGBrgb(49, 14, 36)
HSLhsl(322, 56%, 12%)
HSVhsv(322, 71%, 19%)
CMYKcmyk(0%, 71.4%, 26.5%, 80.8%)
CIE-LABlab(9.76, 20.82, -6.43)
CIE-LCHlch(9.76, 21.79, 342.83°)
OKLaboklab(23.05% 0.0625 -0.0171)
OKLCHoklch(23.05% 0.065 344.7)
XYZxyz(1.7422, 1.0946, 1.7882)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310E24 #0E311B
analogous
#2D0E31 #310E24 #310E12
triadic
#310E24 #24310E #0E2431
tetradic
#310E24 #312D0E #0E311B #0E1231
square
#310E24 #312D0E #0E311B #0E1231
split-complementary
#310E24 #12310E #0E312D
monochromatic
#180711 #180711 #310E24 #611C47 #90296A

Accessibility & contrast

On white

17.23
#310E24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#310E24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310E24
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310E24#FFFFFF#000000##FFFFFF
##310E241.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310e24;
/* rgb */ color: rgb(49, 14, 36);
/* oklch */ color: oklch(23.1% 0.065 344.7);
Tailwind
colors: {
  custom: {
    50: '#6b4f5e',
    500: '#310e24',
    950: '#000000',
  },
}
SCSS
$custom: #310e24;
$custom-light: #6b4f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#310e24",
  "rgb": {
    "r": 49,
    "g": 14,
    "b": 36
  },
  "hsl": {
    "h": 322.286,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23051,
    "c": 0.06474,
    "h": 344.7
  },
  "luminance": 0.01094
}

Semantic roles & 50–950 ramp

primary
#310E24
secondary
#2F6C46
accent
#DF8149
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #310E24

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

Preview Lab → · Contrast checker → · Palette generator →

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