#310B29#310B29

#310B29 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 22.9% C 0.074 H 337.1°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#310B29
RGBrgb(49, 11, 41)
HSLhsl(313, 63%, 12%)
HSVhsv(313, 78%, 19%)
CMYKcmyk(0%, 77.6%, 16.3%, 80.8%)
CIE-LABlab(9.42, 23.36, -10.70)
CIE-LCHlch(9.42, 25.70, 335.40°)
OKLaboklab(22.89% 0.0686 -0.029)
OKLCHoklch(22.89% 0.074 337.1)
XYZxyz(1.7866, 1.0526, 2.2065)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B29 #0B3113
analogous
#260B31 #310B29 #310B16
triadic
#310B29 #29310B #0B2931
tetradic
#310B29 #31260B #0B3113 #0B1631
square
#310B29 #31260B #0B3113 #0B1631
split-complementary
#310B29 #16310B #0B3126
monochromatic
#190615 #190615 #310B29 #631653 #95217D

Accessibility & contrast

On white

17.35
#310B29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310B29
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B29#FFFFFF#000000##FFFFFF
##310B291.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C172A
Deuteranopia (green-blind)
#181C28
Tritanopia (blue-blind)
#340D18
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310b29;
/* rgb */ color: rgb(49, 11, 41);
/* oklch */ color: oklch(22.9% 0.074 337.1);
Tailwind
colors: {
  custom: {
    50: '#6b4d62',
    500: '#310b29',
    950: '#000000',
  },
}
SCSS
$custom: #310b29;
$custom-light: #6b4d62;
$custom-dark: #000000;
JSON
{
  "hex": "#310b29",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 41
  },
  "hsl": {
    "h": 312.632,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22891,
    "c": 0.07449,
    "h": 337.1
  },
  "luminance": 0.01052
}

Semantic roles & 50–950 ramp

primary
#310B29
secondary
#2A6E38
accent
#E66441
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #310B29

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

Preview Lab → · Contrast checker → · Palette generator →

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