#310F18#310F18

#310F18 is a very dark, muted pink. Relative luminance 0.011; OKLCH L 22.7% C 0.056 H 6.2°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#310F18
RGBrgb(49, 15, 24)
HSLhsl(344, 53%, 13%)
HSVhsv(344, 69%, 19%)
CMYKcmyk(0%, 69.4%, 51%, 80.8%)
CIE-LABlab(9.49, 18.35, 2.28)
CIE-LCHlch(9.49, 18.49, 7.08°)
OKLaboklab(22.69% 0.0558 0.0061)
OKLCHoklch(22.69% 0.056 6.2)
XYZxyz(1.6024, 1.0607, 0.9843)
Luminance0.0106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F18 #0F3128
analogous
#310F29 #310F18 #31170F
triadic
#310F18 #18310F #0F1831
tetradic
#310F18 #29310F #0F3128 #170F31
square
#310F18 #29310F #0F3128 #170F31
split-complementary
#310F18 #0F3117 #0F2931
monochromatic
#17070B #17070B #310F18 #601D2F #8F2C46

Accessibility & contrast

On white

17.32
#310F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#310F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310F18
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310F18#FFFFFF#000000##FFFFFF
##310F181.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161618
Deuteranopia (green-blind)
#1E1D17
Tritanopia (blue-blind)
#360B12
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310f18;
/* rgb */ color: rgb(49, 15, 24);
/* oklch */ color: oklch(22.7% 0.056 6.2);
Tailwind
colors: {
  custom: {
    50: '#6b4f54',
    500: '#310f18',
    950: '#000000',
  },
}
SCSS
$custom: #310f18;
$custom-light: #6b4f54;
$custom-dark: #000000;
JSON
{
  "hex": "#310f18",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 24
  },
  "hsl": {
    "h": 344.118,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22692,
    "c": 0.05617,
    "h": 6.2
  },
  "luminance": 0.01061
}

Semantic roles & 50–950 ramp

primary
#310F18
secondary
#316B5C
accent
#DDB64B
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070202
muted
#7A7878

Preview Lab

Preview with #310F18

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

Preview Lab → · Contrast checker → · Palette generator →

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