#310C22#310C22

#310C22 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.6% C 0.067 H 347.1°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#310C22
RGBrgb(49, 12, 34)
HSLhsl(324, 61%, 12%)
HSVhsv(324, 76%, 19%)
CMYKcmyk(0%, 75.5%, 30.6%, 80.8%)
CIE-LABlab(9.25, 21.58, -5.69)
CIE-LCHlch(9.25, 22.31, 345.24°)
OKLaboklab(22.65% 0.0652 -0.015)
OKLCHoklch(22.65% 0.067 347.1)
XYZxyz(1.6869, 1.0316, 1.6233)
Luminance0.0103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310C22 #0C311B
analogous
#2E0C31 #310C22 #310C10
triadic
#310C22 #22310C #0C2231
tetradic
#310C22 #312E0C #0C311B #0C1031
square
#310C22 #312E0C #0C311B #0C1031
split-complementary
#310C22 #10310C #0C312E
monochromatic
#190611 #190611 #310C22 #621844 #932466

Accessibility & contrast

On white

17.41
#310C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310C22
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310C22#FFFFFF#000000##FFFFFF
##310C221.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101623
Deuteranopia (green-blind)
#1B1C21
Tritanopia (blue-blind)
#350B15
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310c22;
/* rgb */ color: rgb(49, 12, 34);
/* oklch */ color: oklch(22.6% 0.067 347.1);
Tailwind
colors: {
  custom: {
    50: '#6b4d5d',
    500: '#310c22',
    950: '#000000',
  },
}
SCSS
$custom: #310c22;
$custom-light: #6b4d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#310c22",
  "rgb": {
    "r": 49,
    "g": 12,
    "b": 34
  },
  "hsl": {
    "h": 324.324,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22648,
    "c": 0.06691,
    "h": 347.1
  },
  "luminance": 0.01031
}

Semantic roles & 50–950 ramp

primary
#310C22
secondary
#2C6D46
accent
#E48544
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #310C22

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

Preview Lab → · Contrast checker → · Palette generator →

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