#310F2B#310F2B

#310F2B is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.6% C 0.069 H 334.9°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#310F2B
RGBrgb(49, 15, 43)
HSLhsl(311, 53%, 13%)
HSVhsv(311, 69%, 19%)
CMYKcmyk(0%, 69.4%, 12.2%, 80.8%)
CIE-LABlab(10.33, 21.58, -10.78)
CIE-LCHlch(10.33, 24.12, 333.47°)
OKLaboklab(23.59% 0.0626 -0.0293)
OKLCHoklch(23.59% 0.069 334.9)
XYZxyz(1.8735, 1.1692, 2.4120)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F2B #0F3115
analogous
#260F31 #310F2B #310F1A
triadic
#310F2B #2B310F #0F2B31
tetradic
#310F2B #31260F #0F3115 #0F1A31
square
#310F2B #31260F #0F3115 #0F1A31
split-complementary
#310F2B #1A310F #0F3126
monochromatic
#170715 #170715 #310F2B #601D54 #8F2C7D

Accessibility & contrast

On white

17.02
#310F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310F2B
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310F2B#FFFFFF#000000##FFFFFF
##310F2B1.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F192C
Deuteranopia (green-blind)
#191E2A
Tritanopia (blue-blind)
#34111B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #310f2b;
/* rgb */ color: rgb(49, 15, 43);
/* oklch */ color: oklch(23.6% 0.069 334.9);
Tailwind
colors: {
  custom: {
    50: '#6a4f64',
    500: '#310f2b',
    950: '#000000',
  },
}
SCSS
$custom: #310f2b;
$custom-light: #6a4f64;
$custom-dark: #000000;
JSON
{
  "hex": "#310f2b",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 43
  },
  "hsl": {
    "h": 310.588,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23591,
    "c": 0.06911,
    "h": 334.9
  },
  "luminance": 0.01169
}

Semantic roles & 50–950 ramp

primary
#310F2B
secondary
#316B3B
accent
#DD654B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070205
muted
#7A787A

Preview Lab

Preview with #310F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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