#310A17#310A17

#310A17 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.9% C 0.064 H 3.7°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#310A17
RGBrgb(49, 10, 23)
HSLhsl(340, 66%, 12%)
HSVhsv(340, 80%, 19%)
CMYKcmyk(0%, 79.6%, 53.1%, 80.8%)
CIE-LABlab(8.41, 21.02, 1.49)
CIE-LCHlch(8.41, 21.07, 4.06°)
OKLaboklab(21.88% 0.0642 0.0041)
OKLCHoklch(21.88% 0.064 3.7)
XYZxyz(1.5299, 0.9321, 0.9098)
Luminance0.0093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A17 #0A3124
analogous
#310A2B #310A17 #31110A
triadic
#310A17 #17310A #0A1731
tetradic
#310A17 #2B310A #0A3124 #110A31
square
#310A17 #2B310A #0A3124 #110A31
split-complementary
#310A17 #0A3111 #0A2B31
monochromatic
#19050C #19050C #310A17 #64142F #971F47

Accessibility & contrast

On white

17.70
#310A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310A17
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A17#FFFFFF#000000##FFFFFF
##310A171.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121417
Deuteranopia (green-blind)
#1C1B16
Tritanopia (blue-blind)
#36060F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310a17;
/* rgb */ color: rgb(49, 10, 23);
/* oklch */ color: oklch(21.9% 0.064 3.7);
Tailwind
colors: {
  custom: {
    50: '#6c4c53',
    500: '#310a17',
    950: '#000000',
  },
}
SCSS
$custom: #310a17;
$custom-light: #6c4c53;
$custom-dark: #000000;
JSON
{
  "hex": "#310a17",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 23
  },
  "hsl": {
    "h": 340,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21879,
    "c": 0.06434,
    "h": 3.7
  },
  "luminance": 0.00932
}

Semantic roles & 50–950 ramp

primary
#310A17
secondary
#296E57
accent
#E9B03F
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310A17

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

Preview Lab → · Contrast checker → · Palette generator →

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