#310A14#310A14

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

Color values

HEX#310A14
RGBrgb(49, 10, 20)
HSLhsl(345, 66%, 12%)
HSVhsv(345, 80%, 19%)
CMYKcmyk(0%, 79.6%, 59.2%, 80.8%)
CIE-LABlab(8.31, 20.67, 3.46)
CIE-LCHlch(8.31, 20.95, 9.50°)
OKLaboklab(21.77% 0.0628 0.0095)
OKLCHoklch(21.77% 0.064 8.6)
XYZxyz(1.5016, 0.9207, 0.7603)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A14 #0A3127
analogous
#310A28 #310A14 #31140A
triadic
#310A14 #14310A #0A1431
tetradic
#310A14 #28310A #0A3127 #140A31
square
#310A14 #28310A #0A3127 #140A31
split-complementary
#310A14 #0A3114 #0A2831
monochromatic
#19050A #19050A #310A14 #641429 #971F3D

Accessibility & contrast

On white

17.73
#310A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#310A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310A14
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A14#FFFFFF#000000##FFFFFF
##310A141.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131314
Deuteranopia (green-blind)
#1D1B13
Tritanopia (blue-blind)
#36050E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310a14;
/* rgb */ color: rgb(49, 10, 20);
/* oklch */ color: oklch(21.8% 0.064 8.6);
Tailwind
colors: {
  custom: {
    50: '#6c4c51',
    500: '#310a14',
    950: '#000000',
  },
}
SCSS
$custom: #310a14;
$custom-light: #6c4c51;
$custom-dark: #000000;
JSON
{
  "hex": "#310a14",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 20
  },
  "hsl": {
    "h": 344.615,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21773,
    "c": 0.06353,
    "h": 8.6
  },
  "luminance": 0.00921
}

Semantic roles & 50–950 ramp

primary
#310A14
secondary
#296E5C
accent
#E9BD3F
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310A14

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

Preview Lab → · Contrast checker → · Palette generator →

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