#310A1C#310A1C

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

Color values

HEX#310A1C
RGBrgb(49, 10, 28)
HSLhsl(332, 66%, 12%)
HSVhsv(332, 80%, 19%)
CMYKcmyk(0%, 79.6%, 42.9%, 80.8%)
CIE-LABlab(8.60, 21.69, -2.08)
CIE-LCHlch(8.60, 21.79, 354.53°)
OKLaboklab(22.08% 0.0663 -0.0052)
OKLCHoklch(22.08% 0.067 355.5)
XYZxyz(1.5849, 0.9541, 1.1991)
Luminance0.0095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A1C #0A311F
analogous
#310A30 #310A1C #310C0A
triadic
#310A1C #1C310A #0A1C31
tetradic
#310A1C #30310A #0A311F #0C0A31
square
#310A1C #30310A #0A311F #0C0A31
split-complementary
#310A1C #0A310C #0A3031
monochromatic
#19050F #19050F #310A1C #641439 #971F56

Accessibility & contrast

On white

17.64
#310A1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310A1C
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A1C#FFFFFF#000000##FFFFFF
##310A1C1.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11141D
Deuteranopia (green-blind)
#1B1B1B
Tritanopia (blue-blind)
#360711
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310a1c;
/* rgb */ color: rgb(49, 10, 28);
/* oklch */ color: oklch(22.1% 0.067 355.5);
Tailwind
colors: {
  custom: {
    50: '#6b4c57',
    500: '#310a1c',
    950: '#000000',
  },
}
SCSS
$custom: #310a1c;
$custom-light: #6b4c57;
$custom-dark: #000000;
JSON
{
  "hex": "#310a1c",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 28
  },
  "hsl": {
    "h": 332.308,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22082,
    "c": 0.06654,
    "h": 355.5
  },
  "luminance": 0.00954
}

Semantic roles & 50–950 ramp

primary
#310A1C
secondary
#296E4E
accent
#E99A3F
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #310A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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