#310F1E#310F1E

#310F1E is a very dark, muted pink. Relative luminance 0.011; OKLCH L 22.9% C 0.059 H 355.2°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#310F1E
RGBrgb(49, 15, 30)
HSLhsl(334, 53%, 13%)
HSVhsv(334, 69%, 19%)
CMYKcmyk(0%, 69.4%, 38.8%, 80.8%)
CIE-LABlab(9.71, 19.23, -1.97)
CIE-LCHlch(9.71, 19.33, 354.16°)
OKLaboklab(22.93% 0.0585 -0.0049)
OKLCHoklch(22.93% 0.059 355.2)
XYZxyz(1.6719, 1.0885, 1.3501)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F1E #0F3122
analogous
#310F2F #310F1E #31110F
triadic
#310F1E #1E310F #0F1E31
tetradic
#310F1E #2F310F #0F3122 #110F31
square
#310F1E #2F310F #0F3122 #110F31
split-complementary
#310F1E #0F3111 #0F2F31
monochromatic
#17070E #17070E #310F1E #601D3B #8F2C57

Accessibility & contrast

On white

17.25
#310F1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#310F1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310F1E
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310F1E#FFFFFF#000000##FFFFFF
##310F1E1.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14171E
Deuteranopia (green-blind)
#1D1D1D
Tritanopia (blue-blind)
#350D15
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #310f1e;
/* rgb */ color: rgb(49, 15, 30);
/* oklch */ color: oklch(22.9% 0.059 355.2);
Tailwind
colors: {
  custom: {
    50: '#6b4f59',
    500: '#310f1e',
    950: '#000000',
  },
}
SCSS
$custom: #310f1e;
$custom-light: #6b4f59;
$custom-dark: #000000;
JSON
{
  "hex": "#310f1e",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 30
  },
  "hsl": {
    "h": 333.529,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22929,
    "c": 0.0587,
    "h": 355.2
  },
  "luminance": 0.01088
}

Semantic roles & 50–950 ramp

primary
#310F1E
secondary
#316B51
accent
#DD9C4B
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070203
muted
#7A7878

Preview Lab

Preview with #310F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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