#310D29#310D29

#310D29 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.2% C 0.071 H 337.3°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#310D29
RGBrgb(49, 13, 41)
HSLhsl(313, 58%, 12%)
HSVhsv(313, 73%, 19%)
CMYKcmyk(0%, 73.5%, 16.3%, 80.8%)
CIE-LABlab(9.81, 22.30, -10.10)
CIE-LCHlch(9.81, 24.48, 335.64°)
OKLaboklab(23.17% 0.0655 -0.0273)
OKLCHoklch(23.17% 0.071 337.3)
XYZxyz(1.8108, 1.1011, 2.2145)
Luminance0.0110 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310D29 #0D3115
analogous
#270D31 #310D29 #310D17
triadic
#310D29 #29310D #0D2931
tetradic
#310D29 #31270D #0D3115 #0D1731
square
#310D29 #31270D #0D3115 #0D1731
split-complementary
#310D29 #17310D #0D3127
monochromatic
#180614 #180614 #310D29 #611A51 #92277A

Accessibility & contrast

On white

17.21
#310D29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310D29
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310D29#FFFFFF#000000##FFFFFF
##310D291.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E182A
Deuteranopia (green-blind)
#191D28
Tritanopia (blue-blind)
#340F19
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #310d29;
/* rgb */ color: rgb(49, 13, 41);
/* oklch */ color: oklch(23.2% 0.071 337.3);
Tailwind
colors: {
  custom: {
    50: '#6b4e62',
    500: '#310d29',
    950: '#000000',
  },
}
SCSS
$custom: #310d29;
$custom-light: #6b4e62;
$custom-dark: #000000;
JSON
{
  "hex": "#310d29",
  "rgb": {
    "r": 49,
    "g": 13,
    "b": 41
  },
  "hsl": {
    "h": 313.333,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23173,
    "c": 0.07095,
    "h": 337.3
  },
  "luminance": 0.01101
}

Semantic roles & 50–950 ramp

primary
#310D29
secondary
#2E6C3C
accent
#E16947
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070205
muted
#7A7879

Preview Lab

Preview with #310D29

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

Preview Lab → · Contrast checker → · Palette generator →

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