#310B19#310B19

#310B19 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.1% C 0.063 H 1.0°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#310B19
RGBrgb(49, 11, 25)
HSLhsl(338, 63%, 12%)
HSVhsv(338, 78%, 19%)
CMYKcmyk(0%, 77.6%, 49%, 80.8%)
CIE-LABlab(8.68, 20.75, 0.34)
CIE-LCHlch(8.68, 20.76, 0.95°)
OKLaboklab(22.1% 0.0635 0.0011)
OKLCHoklch(22.1% 0.063 1)
XYZxyz(1.5619, 0.9627, 1.0231)
Luminance0.0096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B19 #0B3123
analogous
#310B2C #310B19 #31100B
triadic
#310B19 #19310B #0B1931
tetradic
#310B19 #2C310B #0B3123 #100B31
square
#310B19 #2C310B #0B3123 #100B31
split-complementary
#310B19 #0B3110 #0B2C31
monochromatic
#19060D #19060D #310B19 #631633 #95214C

Accessibility & contrast

On white

17.61
#310B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310B19
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B19#FFFFFF#000000##FFFFFF
##310B191.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121419
Deuteranopia (green-blind)
#1C1C18
Tritanopia (blue-blind)
#360711
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310b19;
/* rgb */ color: rgb(49, 11, 25);
/* oklch */ color: oklch(22.1% 0.063 1.0);
Tailwind
colors: {
  custom: {
    50: '#6c4c55',
    500: '#310b19',
    950: '#000000',
  },
}
SCSS
$custom: #310b19;
$custom-light: #6c4c55;
$custom-dark: #000000;
JSON
{
  "hex": "#310b19",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 25
  },
  "hsl": {
    "h": 337.895,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22099,
    "c": 0.06346,
    "h": 1
  },
  "luminance": 0.00962
}

Semantic roles & 50–950 ramp

primary
#310B19
secondary
#2A6E55
accent
#E6AA41
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070103
muted
#7A7778

Preview Lab

Preview with #310B19

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

Preview Lab → · Contrast checker → · Palette generator →

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