#310F1D#310F1D

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

Color values

HEX#310F1D
RGBrgb(49, 15, 29)
HSLhsl(335, 53%, 13%)
HSVhsv(335, 69%, 19%)
CMYKcmyk(0%, 69.4%, 40.8%, 80.8%)
CIE-LABlab(9.67, 19.07, -1.27)
CIE-LCHlch(9.67, 19.11, 356.20°)
OKLaboklab(22.89% 0.0581 -0.0031)
OKLCHoklch(22.89% 0.058 357)
XYZxyz(1.6593, 1.0835, 1.2839)
Luminance0.0108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F1D #0F3123
analogous
#310F2E #310F1D #31120F
triadic
#310F1D #1D310F #0F1D31
tetradic
#310F1D #2E310F #0F3123 #120F31
square
#310F1D #2E310F #0F3123 #120F31
split-complementary
#310F1D #0F3112 #0F2E31
monochromatic
#17070E #17070E #310F1D #601D39 #8F2C54

Accessibility & contrast

On white

17.26
#310F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310F1D
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310F1D#FFFFFF#000000##FFFFFF
##310F1D1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14171D
Deuteranopia (green-blind)
#1D1D1C
Tritanopia (blue-blind)
#350D14
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #310f1d;
/* rgb */ color: rgb(49, 15, 29);
/* oklch */ color: oklch(22.9% 0.058 357.0);
Tailwind
colors: {
  custom: {
    50: '#6b4f58',
    500: '#310f1d',
    950: '#000000',
  },
}
SCSS
$custom: #310f1d;
$custom-light: #6b4f58;
$custom-dark: #000000;
JSON
{
  "hex": "#310f1d",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 29
  },
  "hsl": {
    "h": 335.294,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22887,
    "c": 0.05816,
    "h": 357
  },
  "luminance": 0.01083
}

Semantic roles & 50–950 ramp

primary
#310F1D
secondary
#316B53
accent
#DDA14B
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070203
muted
#7A7878

Preview Lab

Preview with #310F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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