#310F22#310F22

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

Color values

HEX#310F22
RGBrgb(49, 15, 34)
HSLhsl(326, 53%, 13%)
HSVhsv(326, 69%, 19%)
CMYKcmyk(0%, 69.4%, 30.6%, 80.8%)
CIE-LABlab(9.88, 19.88, -4.74)
CIE-LCHlch(9.88, 20.44, 346.59°)
OKLaboklab(23.11% 0.06 -0.0124)
OKLCHoklch(23.11% 0.061 348.3)
XYZxyz(1.7262, 1.1103, 1.6365)
Luminance0.0111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F22 #0F311E
analogous
#2F0F31 #310F22 #310F11
triadic
#310F22 #22310F #0F2231
tetradic
#310F22 #312F0F #0F311E #0F1131
square
#310F22 #312F0F #0F311E #0F1131
split-complementary
#310F22 #11310F #0F312F
monochromatic
#170710 #170710 #310F22 #601D43 #8F2C63

Accessibility & contrast

On white

17.18
#310F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310F22
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310F22#FFFFFF#000000##FFFFFF
##310F221.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310f22;
/* rgb */ color: rgb(49, 15, 34);
/* oklch */ color: oklch(23.1% 0.061 348.3);
Tailwind
colors: {
  custom: {
    50: '#6b4f5d',
    500: '#310f22',
    950: '#000000',
  },
}
SCSS
$custom: #310f22;
$custom-light: #6b4f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#310f22",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 34
  },
  "hsl": {
    "h": 326.471,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23112,
    "c": 0.06129,
    "h": 348.3
  },
  "luminance": 0.0111
}

Semantic roles & 50–950 ramp

primary
#310F22
secondary
#316B4A
accent
#DD8B4B
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #310F22

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

Preview Lab → · Contrast checker → · Palette generator →

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