#310D2B#310D2B

#310D2B is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.3% C 0.073 H 334.8°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#310D2B
RGBrgb(49, 13, 43)
HSLhsl(310, 58%, 12%)
HSVhsv(310, 73%, 19%)
CMYKcmyk(0%, 73.5%, 12.2%, 80.8%)
CIE-LABlab(9.92, 22.70, -11.41)
CIE-LCHlch(9.92, 25.41, 333.30°)
OKLaboklab(23.29% 0.0659 -0.0311)
OKLCHoklch(23.29% 0.073 334.8)
XYZxyz(1.8466, 1.1154, 2.4031)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310D2B #0D3113
analogous
#250D31 #310D2B #310D19
triadic
#310D2B #2B310D #0D2B31
tetradic
#310D2B #31250D #0D3113 #0D1931
square
#310D2B #31250D #0D3113 #0D1931
split-complementary
#310D2B #19310D #0D3125
monochromatic
#180615 #180615 #310D2B #611A55 #922780

Accessibility & contrast

On white

17.17
#310D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310D2B
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310D2B#FFFFFF#000000##FFFFFF
##310D2B1.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D182C
Deuteranopia (green-blind)
#181D2A
Tritanopia (blue-blind)
#340F1A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #310d2b;
/* rgb */ color: rgb(49, 13, 43);
/* oklch */ color: oklch(23.3% 0.073 334.8);
Tailwind
colors: {
  custom: {
    50: '#6b4e64',
    500: '#310d2b',
    950: '#000000',
  },
}
SCSS
$custom: #310d2b;
$custom-light: #6b4e64;
$custom-dark: #000000;
JSON
{
  "hex": "#310d2b",
  "rgb": {
    "r": 49,
    "g": 13,
    "b": 43
  },
  "hsl": {
    "h": 310,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23291,
    "c": 0.07284,
    "h": 334.8
  },
  "luminance": 0.01115
}

Semantic roles & 50–950 ramp

primary
#310D2B
secondary
#2E6C38
accent
#E16047
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070205
muted
#7A787A

Preview Lab

Preview with #310D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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