#310F20#310F20

#310F20 is a very dark, muted pink. Relative luminance 0.011; OKLCH L 23.0% C 0.060 H 351.7°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#310F20
RGBrgb(49, 15, 32)
HSLhsl(330, 53%, 13%)
HSVhsv(330, 69%, 19%)
CMYKcmyk(0%, 69.4%, 34.7%, 80.8%)
CIE-LABlab(9.79, 19.54, -3.36)
CIE-LCHlch(9.79, 19.83, 350.25°)
OKLaboklab(23.02% 0.0593 -0.0087)
OKLCHoklch(23.02% 0.06 351.7)
XYZxyz(1.6982, 1.0991, 1.4889)
Luminance0.0110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F20 #0F3120
analogous
#310F31 #310F20 #310F0F
triadic
#310F20 #20310F #0F2031
tetradic
#310F20 #31310F #0F3120 #0F0F31
square
#310F20 #31310F #0F3120 #0F0F31
split-complementary
#310F20 #0F310F #0F3131
monochromatic
#17070F #17070F #310F20 #601D3F #8F2C5D

Accessibility & contrast

On white

17.22
#310F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310F20
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310F20#FFFFFF#000000##FFFFFF
##310F201.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131721
Deuteranopia (green-blind)
#1D1D1F
Tritanopia (blue-blind)
#350D16
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #310f20;
/* rgb */ color: rgb(49, 15, 32);
/* oklch */ color: oklch(23.0% 0.060 351.7);
Tailwind
colors: {
  custom: {
    50: '#6b4f5b',
    500: '#310f20',
    950: '#000000',
  },
}
SCSS
$custom: #310f20;
$custom-light: #6b4f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#310f20",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 32
  },
  "hsl": {
    "h": 330,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23018,
    "c": 0.05991,
    "h": 351.7
  },
  "luminance": 0.01099
}

Semantic roles & 50–950 ramp

primary
#310F20
secondary
#316B4E
accent
#DD944B
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #310F20

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

Preview Lab → · Contrast checker → · Palette generator →

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