#310A29#310A29

#310A29 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.8% C 0.076 H 337.0°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#310A29
RGBrgb(49, 10, 41)
HSLhsl(312, 66%, 12%)
HSVhsv(312, 80%, 19%)
CMYKcmyk(0%, 79.6%, 16.3%, 80.8%)
CIE-LABlab(9.24, 23.87, -10.98)
CIE-LCHlch(9.24, 26.27, 335.30°)
OKLaboklab(22.76% 0.0701 -0.0298)
OKLCHoklch(22.76% 0.076 337)
XYZxyz(1.7754, 1.0303, 2.2028)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A29 #0A3112
analogous
#260A31 #310A29 #310A16
triadic
#310A29 #29310A #0A2931
tetradic
#310A29 #31260A #0A3112 #0A1631
square
#310A29 #31260A #0A3112 #0A1631
split-complementary
#310A29 #16310A #0A3126
monochromatic
#190515 #190515 #310A29 #641454 #971F7E

Accessibility & contrast

On white

17.41
#310A29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310A29
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A29#FFFFFF#000000##FFFFFF
##310A291.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B162A
Deuteranopia (green-blind)
#171C28
Tritanopia (blue-blind)
#340C18
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310a29;
/* rgb */ color: rgb(49, 10, 41);
/* oklch */ color: oklch(22.8% 0.076 337.0);
Tailwind
colors: {
  custom: {
    50: '#6b4d62',
    500: '#310a29',
    950: '#000000',
  },
}
SCSS
$custom: #310a29;
$custom-light: #6b4d62;
$custom-dark: #000000;
JSON
{
  "hex": "#310a29",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 41
  },
  "hsl": {
    "h": 312.308,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2276,
    "c": 0.07617,
    "h": 337
  },
  "luminance": 0.0103
}

Semantic roles & 50–950 ramp

primary
#310A29
secondary
#296E37
accent
#E9623F
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #310A29

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

Preview Lab → · Contrast checker → · Palette generator →

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