#310D25#310D25

#310D25 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.0% C 0.067 H 342.9°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#310D25
RGBrgb(49, 13, 37)
HSLhsl(320, 58%, 12%)
HSVhsv(320, 73%, 19%)
CMYKcmyk(0%, 73.5%, 24.5%, 80.8%)
CIE-LABlab(9.60, 21.56, -7.43)
CIE-LCHlch(9.60, 22.80, 340.99°)
OKLaboklab(22.95% 0.0645 -0.0198)
OKLCHoklch(22.95% 0.067 342.9)
XYZxyz(1.7445, 1.0745, 1.8654)
Luminance0.0107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310D25 #0D3119
analogous
#2B0D31 #310D25 #310D13
triadic
#310D25 #25310D #0D2531
tetradic
#310D25 #312B0D #0D3119 #0D1331
square
#310D25 #312B0D #0D3119 #0D1331
split-complementary
#310D25 #13310D #0D312B
monochromatic
#180612 #180612 #310D25 #611A4A #92276E

Accessibility & contrast

On white

17.29
#310D25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#310D25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310D25
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310D25#FFFFFF#000000##FFFFFF
##310D251.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101726
Deuteranopia (green-blind)
#1A1D24
Tritanopia (blue-blind)
#340D17
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #310d25;
/* rgb */ color: rgb(49, 13, 37);
/* oklch */ color: oklch(23.0% 0.067 342.9);
Tailwind
colors: {
  custom: {
    50: '#6b4e5f',
    500: '#310d25',
    950: '#000000',
  },
}
SCSS
$custom: #310d25;
$custom-light: #6b4e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#310d25",
  "rgb": {
    "r": 49,
    "g": 13,
    "b": 37
  },
  "hsl": {
    "h": 320,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22951,
    "c": 0.06744,
    "h": 342.9
  },
  "luminance": 0.01074
}

Semantic roles & 50–950 ramp

primary
#310D25
secondary
#2E6C42
accent
#E17A47
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #310D25

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

Preview Lab → · Contrast checker → · Palette generator →

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