#310A22#310A22

#310A22 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.4% C 0.070 H 346.4°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#310A22
RGBrgb(49, 10, 34)
HSLhsl(323, 66%, 12%)
HSVhsv(323, 80%, 19%)
CMYKcmyk(0%, 79.6%, 30.6%, 80.8%)
CIE-LABlab(8.87, 22.62, -6.26)
CIE-LCHlch(8.87, 23.48, 344.52°)
OKLaboklab(22.37% 0.0684 -0.0166)
OKLCHoklch(22.37% 0.07 346.4)
XYZxyz(1.6640, 0.9857, 1.6157)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A22 #0A3119
analogous
#2D0A31 #310A22 #310A0F
triadic
#310A22 #22310A #0A2231
tetradic
#310A22 #312D0A #0A3119 #0A0F31
square
#310A22 #312D0A #0A3119 #0A0F31
split-complementary
#310A22 #0F310A #0A312D
monochromatic
#190512 #190512 #310A22 #641445 #971F69

Accessibility & contrast

On white

17.54
#310A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#310A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310A22
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A22#FFFFFF#000000##FFFFFF
##310A221.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1523
Deuteranopia (green-blind)
#1A1C21
Tritanopia (blue-blind)
#350914
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310a22;
/* rgb */ color: rgb(49, 10, 34);
/* oklch */ color: oklch(22.4% 0.070 346.4);
Tailwind
colors: {
  custom: {
    50: '#6b4c5d',
    500: '#310a22',
    950: '#000000',
  },
}
SCSS
$custom: #310a22;
$custom-light: #6b4c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#310a22",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 34
  },
  "hsl": {
    "h": 323.077,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22369,
    "c": 0.0704,
    "h": 346.4
  },
  "luminance": 0.00986
}

Semantic roles & 50–950 ramp

primary
#310A22
secondary
#296E43
accent
#E9803F
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #310A22

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

Preview Lab → · Contrast checker → · Palette generator →

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