#310A19#310A19

#310A19 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.0% C 0.065 H 0.4°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#310A19
RGBrgb(49, 10, 25)
HSLhsl(337, 66%, 12%)
HSVhsv(337, 80%, 19%)
CMYKcmyk(0%, 79.6%, 49%, 80.8%)
CIE-LABlab(8.48, 21.28, 0.06)
CIE-LCHlch(8.48, 21.28, 0.17°)
OKLaboklab(21.96% 0.0651 0.0004)
OKLCHoklch(21.96% 0.065 0.4)
XYZxyz(1.5507, 0.9404, 1.0194)
Luminance0.0094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A19 #0A3122
analogous
#310A2D #310A19 #310F0A
triadic
#310A19 #19310A #0A1931
tetradic
#310A19 #2D310A #0A3122 #0F0A31
square
#310A19 #2D310A #0A3122 #0F0A31
split-complementary
#310A19 #0A310F #0A2D31
monochromatic
#19050D #19050D #310A19 #641433 #971F4D

Accessibility & contrast

On white

17.68
#310A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310A19
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A19#FFFFFF#000000##FFFFFF
##310A191.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121419
Deuteranopia (green-blind)
#1C1B18
Tritanopia (blue-blind)
#360610
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310a19;
/* rgb */ color: rgb(49, 10, 25);
/* oklch */ color: oklch(22.0% 0.065 0.4);
Tailwind
colors: {
  custom: {
    50: '#6c4c55',
    500: '#310a19',
    950: '#000000',
  },
}
SCSS
$custom: #310a19;
$custom-light: #6c4c55;
$custom-dark: #000000;
JSON
{
  "hex": "#310a19",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 25
  },
  "hsl": {
    "h": 336.923,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21957,
    "c": 0.0651,
    "h": 0.4
  },
  "luminance": 0.0094
}

Semantic roles & 50–950 ramp

primary
#310A19
secondary
#296E53
accent
#E9A83F
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070103
muted
#7A7778

Preview Lab

Preview with #310A19

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

Preview Lab → · Contrast checker → · Palette generator →

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