#310A20#310A20

#310A20 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.3% C 0.069 H 349.3°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#310A20
RGBrgb(49, 10, 32)
HSLhsl(326, 66%, 12%)
HSVhsv(326, 80%, 19%)
CMYKcmyk(0%, 79.6%, 34.7%, 80.8%)
CIE-LABlab(8.78, 22.30, -4.88)
CIE-LCHlch(8.78, 22.83, 347.65°)
OKLaboklab(22.27% 0.0678 -0.0128)
OKLCHoklch(22.27% 0.069 349.3)
XYZxyz(1.6360, 0.9745, 1.4682)
Luminance0.0097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A20 #0A311B
analogous
#2F0A31 #310A20 #310A0D
triadic
#310A20 #20310A #0A2031
tetradic
#310A20 #312F0A #0A311B #0A0D31
square
#310A20 #312F0A #0A311B #0A0D31
split-complementary
#310A20 #0D310A #0A312F
monochromatic
#190511 #190511 #310A20 #641441 #971F62

Accessibility & contrast

On white

17.58
#310A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#310A20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310A20
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A20#FFFFFF#000000##FFFFFF
##310A201.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1521
Deuteranopia (green-blind)
#1A1C1F
Tritanopia (blue-blind)
#350813
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310a20;
/* rgb */ color: rgb(49, 10, 32);
/* oklch */ color: oklch(22.3% 0.069 349.3);
Tailwind
colors: {
  custom: {
    50: '#6b4c5b',
    500: '#310a20',
    950: '#000000',
  },
}
SCSS
$custom: #310a20;
$custom-light: #6b4c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#310a20",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 32
  },
  "hsl": {
    "h": 326.154,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22268,
    "c": 0.06898,
    "h": 349.3
  },
  "luminance": 0.00974
}

Semantic roles & 50–950 ramp

primary
#310A20
secondary
#296E47
accent
#E9893F
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #310A20

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

Preview Lab → · Contrast checker → · Palette generator →

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