#310B22#310B22

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

Color values

HEX#310B22
RGBrgb(49, 11, 34)
HSLhsl(324, 63%, 12%)
HSVhsv(324, 78%, 19%)
CMYKcmyk(0%, 77.6%, 30.6%, 80.8%)
CIE-LABlab(9.06, 22.11, -5.98)
CIE-LCHlch(9.06, 22.90, 344.86°)
OKLaboklab(22.51% 0.0669 -0.0158)
OKLCHoklch(22.51% 0.069 346.7)
XYZxyz(1.6751, 1.0080, 1.6194)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B22 #0B311A
analogous
#2D0B31 #310B22 #310B0F
triadic
#310B22 #22310B #0B2231
tetradic
#310B22 #312D0B #0B311A #0B0F31
square
#310B22 #312D0B #0B311A #0B0F31
split-complementary
#310B22 #0F310B #0B312D
monochromatic
#190611 #190611 #310B22 #631645 #952167

Accessibility & contrast

On white

17.48
#310B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310B22
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B22#FFFFFF#000000##FFFFFF
##310B221.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1523
Deuteranopia (green-blind)
#1A1C21
Tritanopia (blue-blind)
#350A15
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310b22;
/* rgb */ color: rgb(49, 11, 34);
/* oklch */ color: oklch(22.5% 0.069 346.7);
Tailwind
colors: {
  custom: {
    50: '#6b4d5d',
    500: '#310b22',
    950: '#000000',
  },
}
SCSS
$custom: #310b22;
$custom-light: #6b4d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#310b22",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 34
  },
  "hsl": {
    "h": 323.684,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22505,
    "c": 0.06869,
    "h": 346.7
  },
  "luminance": 0.01008
}

Semantic roles & 50–950 ramp

primary
#310B22
secondary
#2A6E45
accent
#E68341
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #310B22

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

Preview Lab → · Contrast checker → · Palette generator →

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