#310A1D#310A1D

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

Color values

HEX#310A1D
RGBrgb(49, 10, 29)
HSLhsl(331, 66%, 12%)
HSVhsv(331, 80%, 19%)
CMYKcmyk(0%, 79.6%, 40.8%, 80.8%)
CIE-LABlab(8.64, 21.84, -2.78)
CIE-LCHlch(8.64, 22.02, 352.73°)
OKLaboklab(22.13% 0.0667 -0.0071)
OKLCHoklch(22.13% 0.067 353.9)
XYZxyz(1.5970, 0.9589, 1.2631)
Luminance0.0096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A1D #0A311E
analogous
#310A31 #310A1D #310B0A
triadic
#310A1D #1D310A #0A1D31
tetradic
#310A1D #31310A #0A311E #0B0A31
square
#310A1D #31310A #0A311E #0B0A31
split-complementary
#310A1D #0A310B #0A3131
monochromatic
#19050F #19050F #310A1D #64143B #971F59

Accessibility & contrast

On white

17.62
#310A1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310A1D
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A1D#FFFFFF#000000##FFFFFF
##310A1D1.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10141E
Deuteranopia (green-blind)
#1B1B1C
Tritanopia (blue-blind)
#350712
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310a1d;
/* rgb */ color: rgb(49, 10, 29);
/* oklch */ color: oklch(22.1% 0.067 353.9);
Tailwind
colors: {
  custom: {
    50: '#6b4c58',
    500: '#310a1d',
    950: '#000000',
  },
}
SCSS
$custom: #310a1d;
$custom-light: #6b4c58;
$custom-dark: #000000;
JSON
{
  "hex": "#310a1d",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 29
  },
  "hsl": {
    "h": 330.769,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22127,
    "c": 0.0671,
    "h": 353.9
  },
  "luminance": 0.00959
}

Semantic roles & 50–950 ramp

primary
#310A1D
secondary
#296E4C
accent
#E9963F
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #310A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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