#310D26#310D26

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

Color values

HEX#310D26
RGBrgb(49, 13, 38)
HSLhsl(318, 58%, 12%)
HSVhsv(318, 73%, 19%)
CMYKcmyk(0%, 73.5%, 22.4%, 80.8%)
CIE-LABlab(9.65, 21.74, -8.10)
CIE-LCHlch(9.65, 23.20, 339.57°)
OKLaboklab(23% 0.0647 -0.0217)
OKLCHoklch(23% 0.068 341.5)
XYZxyz(1.7604, 1.0809, 1.9493)
Luminance0.0108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310D26 #0D3118
analogous
#2A0D31 #310D26 #310D14
triadic
#310D26 #26310D #0D2631
tetradic
#310D26 #312A0D #0D3118 #0D1431
square
#310D26 #312A0D #0D3118 #0D1431
split-complementary
#310D26 #14310D #0D312A
monochromatic
#180613 #180613 #310D26 #611A4C #922771

Accessibility & contrast

On white

17.27
#310D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#310D26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310D26
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310D26#FFFFFF#000000##FFFFFF
##310D261.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1727
Deuteranopia (green-blind)
#1A1D25
Tritanopia (blue-blind)
#340D17
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #310d26;
/* rgb */ color: rgb(49, 13, 38);
/* oklch */ color: oklch(23.0% 0.068 341.5);
Tailwind
colors: {
  custom: {
    50: '#6b4e60',
    500: '#310d26',
    950: '#000000',
  },
}
SCSS
$custom: #310d26;
$custom-light: #6b4e60;
$custom-dark: #000000;
JSON
{
  "hex": "#310d26",
  "rgb": {
    "r": 49,
    "g": 13,
    "b": 38
  },
  "hsl": {
    "h": 318.333,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23004,
    "c": 0.06827,
    "h": 341.5
  },
  "luminance": 0.01081
}

Semantic roles & 50–950 ramp

primary
#310D26
secondary
#2E6C41
accent
#E17647
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #310D26

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

Preview Lab → · Contrast checker → · Palette generator →

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