#310E20#310E20

#310E20 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 22.9% C 0.062 H 351.1°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#310E20
RGBrgb(49, 14, 32)
HSLhsl(329, 56%, 12%)
HSVhsv(329, 71%, 19%)
CMYKcmyk(0%, 71.4%, 34.7%, 80.8%)
CIE-LABlab(9.57, 20.13, -3.68)
CIE-LCHlch(9.57, 20.46, 349.63°)
OKLaboklab(22.86% 0.0611 -0.0095)
OKLCHoklch(22.86% 0.062 351.1)
XYZxyz(1.6844, 1.0715, 1.4843)
Luminance0.0107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310E20 #0E311F
analogous
#310E31 #310E20 #310E0E
triadic
#310E20 #20310E #0E2031
tetradic
#310E20 #31310E #0E311F #0E0E31
square
#310E20 #31310E #0E311F #0E0E31
split-complementary
#310E20 #0E310E #0E3131
monochromatic
#180710 #180710 #310E20 #611C3F #90295E

Accessibility & contrast

On white

17.30
#310E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#310E20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310E20
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310E20#FFFFFF#000000##FFFFFF
##310E201.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310e20;
/* rgb */ color: rgb(49, 14, 32);
/* oklch */ color: oklch(22.9% 0.062 351.1);
Tailwind
colors: {
  custom: {
    50: '#6b4e5b',
    500: '#310e20',
    950: '#000000',
  },
}
SCSS
$custom: #310e20;
$custom-light: #6b4e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#310e20",
  "rgb": {
    "r": 49,
    "g": 14,
    "b": 32
  },
  "hsl": {
    "h": 329.143,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22856,
    "c": 0.06182,
    "h": 351.1
  },
  "luminance": 0.01071
}

Semantic roles & 50–950 ramp

primary
#310E20
secondary
#2F6C4D
accent
#DF9249
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #310E20

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

Preview Lab → · Contrast checker → · Palette generator →

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