#310F29#310F29

#310F29 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.5% C 0.067 H 337.6°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#310F29
RGBrgb(49, 15, 41)
HSLhsl(314, 53%, 13%)
HSVhsv(314, 69%, 19%)
CMYKcmyk(0%, 69.4%, 16.3%, 80.8%)
CIE-LABlab(10.22, 21.18, -9.46)
CIE-LCHlch(10.22, 23.20, 335.93°)
OKLaboklab(23.48% 0.0621 -0.0255)
OKLCHoklch(23.48% 0.067 337.6)
XYZxyz(1.8377, 1.1549, 2.2235)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F29 #0F3117
analogous
#280F31 #310F29 #310F18
triadic
#310F29 #29310F #0F2931
tetradic
#310F29 #31280F #0F3117 #0F1831
square
#310F29 #31280F #0F3117 #0F1831
split-complementary
#310F29 #18310F #0F3128
monochromatic
#170714 #170714 #310F29 #601D50 #8F2C77

Accessibility & contrast

On white

17.06
#310F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310F29
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310F29#FFFFFF#000000##FFFFFF
##310F291.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10192A
Deuteranopia (green-blind)
#1A1E28
Tritanopia (blue-blind)
#34101A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #310f29;
/* rgb */ color: rgb(49, 15, 41);
/* oklch */ color: oklch(23.5% 0.067 337.6);
Tailwind
colors: {
  custom: {
    50: '#6a4f62',
    500: '#310f29',
    950: '#000000',
  },
}
SCSS
$custom: #310f29;
$custom-light: #6a4f62;
$custom-dark: #000000;
JSON
{
  "hex": "#310f29",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 41
  },
  "hsl": {
    "h": 314.118,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23477,
    "c": 0.06719,
    "h": 337.6
  },
  "luminance": 0.01155
}

Semantic roles & 50–950 ramp

primary
#310F29
secondary
#316B3F
accent
#DD6D4B
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070205
muted
#7A7879

Preview Lab

Preview with #310F29

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

Preview Lab → · Contrast checker → · Palette generator →

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