#310F24#310F24

#310F24 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.2% C 0.063 H 345.1°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#310F24
RGBrgb(49, 15, 36)
HSLhsl(323, 53%, 13%)
HSVhsv(323, 69%, 19%)
CMYKcmyk(0%, 69.4%, 26.5%, 80.8%)
CIE-LABlab(9.97, 20.24, -6.11)
CIE-LCHlch(9.97, 21.14, 343.21°)
OKLaboklab(23.21% 0.0607 -0.0162)
OKLCHoklch(23.21% 0.063 345.1)
XYZxyz(1.7559, 1.1221, 1.7928)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F24 #0F311C
analogous
#2D0F31 #310F24 #310F13
triadic
#310F24 #24310F #0F2431
tetradic
#310F24 #312D0F #0F311C #0F1331
square
#310F24 #312D0F #0F311C #0F1331
split-complementary
#310F24 #13310F #0F312D
monochromatic
#170711 #170711 #310F24 #601D46 #8F2C69

Accessibility & contrast

On white

17.15
#310F24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310F24
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310F24#FFFFFF#000000##FFFFFF
##310F241.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121825
Deuteranopia (green-blind)
#1C1E23
Tritanopia (blue-blind)
#350F17
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #310f24;
/* rgb */ color: rgb(49, 15, 36);
/* oklch */ color: oklch(23.2% 0.063 345.1);
Tailwind
colors: {
  custom: {
    50: '#6b4f5e',
    500: '#310f24',
    950: '#000000',
  },
}
SCSS
$custom: #310f24;
$custom-light: #6b4f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#310f24",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 36
  },
  "hsl": {
    "h": 322.941,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.2321,
    "c": 0.06282,
    "h": 345.1
  },
  "luminance": 0.01122
}

Semantic roles & 50–950 ramp

primary
#310F24
secondary
#316B47
accent
#DD834B
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #310F24

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

Preview Lab → · Contrast checker → · Palette generator →

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