#310F2A#310F2A

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

Color values

HEX#310F2A
RGBrgb(49, 15, 42)
HSLhsl(312, 53%, 13%)
HSVhsv(312, 69%, 19%)
CMYKcmyk(0%, 69.4%, 14.3%, 80.8%)
CIE-LABlab(10.27, 21.38, -10.12)
CIE-LCHlch(10.27, 23.66, 334.67°)
OKLaboklab(23.53% 0.0624 -0.0274)
OKLCHoklch(23.53% 0.068 336.3)
XYZxyz(1.8554, 1.1619, 2.3166)
Luminance0.0116 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F2A #0F3116
analogous
#270F31 #310F2A #310F19
triadic
#310F2A #2A310F #0F2A31
tetradic
#310F2A #31270F #0F3116 #0F1931
square
#310F2A #31270F #0F3116 #0F1931
split-complementary
#310F2A #19310F #0F3127
monochromatic
#170714 #170714 #310F2A #601D52 #8F2C7A

Accessibility & contrast

On white

17.04
#310F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310F2A
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310F2A#FFFFFF#000000##FFFFFF
##310F2A1.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F192B
Deuteranopia (green-blind)
#1A1E29
Tritanopia (blue-blind)
#34111A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #310f2a;
/* rgb */ color: rgb(49, 15, 42);
/* oklch */ color: oklch(23.5% 0.068 336.3);
Tailwind
colors: {
  custom: {
    50: '#6a4f63',
    500: '#310f2a',
    950: '#000000',
  },
}
SCSS
$custom: #310f2a;
$custom-light: #6a4f63;
$custom-dark: #000000;
JSON
{
  "hex": "#310f2a",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 42
  },
  "hsl": {
    "h": 312.353,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23533,
    "c": 0.06814,
    "h": 336.3
  },
  "luminance": 0.01162
}

Semantic roles & 50–950 ramp

primary
#310F2A
secondary
#316B3D
accent
#DD694B
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070205
muted
#7A7879

Preview Lab

Preview with #310F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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