#310E29#310E29

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

Color values

HEX#310E29
RGBrgb(49, 14, 41)
HSLhsl(314, 56%, 12%)
HSVhsv(314, 71%, 19%)
CMYKcmyk(0%, 71.4%, 16.3%, 80.8%)
CIE-LABlab(10.01, 21.75, -9.78)
CIE-LCHlch(10.01, 23.85, 335.78°)
OKLaboklab(23.32% 0.0638 -0.0265)
OKLCHoklch(23.32% 0.069 337.5)
XYZxyz(1.8239, 1.1273, 2.2189)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310E29 #0E3116
analogous
#280E31 #310E29 #310E18
triadic
#310E29 #29310E #0E2931
tetradic
#310E29 #31280E #0E3116 #0E1831
square
#310E29 #31280E #0E3116 #0E1831
split-complementary
#310E29 #18310E #0E3128
monochromatic
#180714 #180714 #310E29 #611C51 #902979

Accessibility & contrast

On white

17.14
#310E29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#310E29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310E29
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310E29#FFFFFF#000000##FFFFFF
##310E291.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310e29;
/* rgb */ color: rgb(49, 14, 41);
/* oklch */ color: oklch(23.3% 0.069 337.5);
Tailwind
colors: {
  custom: {
    50: '#6b4f62',
    500: '#310e29',
    950: '#000000',
  },
}
SCSS
$custom: #310e29;
$custom-light: #6b4f62;
$custom-dark: #000000;
JSON
{
  "hex": "#310e29",
  "rgb": {
    "r": 49,
    "g": 14,
    "b": 41
  },
  "hsl": {
    "h": 313.714,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23322,
    "c": 0.06909,
    "h": 337.5
  },
  "luminance": 0.01127
}

Semantic roles & 50–950 ramp

primary
#310E29
secondary
#2F6C3D
accent
#DF6B49
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070205
muted
#7A7879

Preview Lab

Preview with #310E29

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

Preview Lab → · Contrast checker → · Palette generator →

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