#310F26#310F26

#310F26 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.3% C 0.064 H 342.0°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#310F26
RGBrgb(49, 15, 38)
HSLhsl(319, 53%, 13%)
HSVhsv(319, 69%, 19%)
CMYKcmyk(0%, 69.4%, 22.4%, 80.8%)
CIE-LABlab(10.07, 20.60, -7.46)
CIE-LCHlch(10.07, 21.91, 340.10°)
OKLaboklab(23.31% 0.0613 -0.0199)
OKLCHoklch(23.31% 0.064 342)
XYZxyz(1.7873, 1.1347, 1.9582)
Luminance0.0114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F26 #0F311A
analogous
#2B0F31 #310F26 #310F15
triadic
#310F26 #26310F #0F2631
tetradic
#310F26 #312B0F #0F311A #0F1531
square
#310F26 #312B0F #0F311A #0F1531
split-complementary
#310F26 #15310F #0F312B
monochromatic
#170712 #170712 #310F26 #601D4A #8F2C6F

Accessibility & contrast

On white

17.11
#310F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310F26
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310F26#FFFFFF#000000##FFFFFF
##310F261.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111827
Deuteranopia (green-blind)
#1B1E25
Tritanopia (blue-blind)
#340F18
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #310f26;
/* rgb */ color: rgb(49, 15, 38);
/* oklch */ color: oklch(23.3% 0.064 342.0);
Tailwind
colors: {
  custom: {
    50: '#6a4f60',
    500: '#310f26',
    950: '#000000',
  },
}
SCSS
$custom: #310f26;
$custom-light: #6a4f60;
$custom-dark: #000000;
JSON
{
  "hex": "#310f26",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 38
  },
  "hsl": {
    "h": 319.412,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23313,
    "c": 0.06448,
    "h": 342
  },
  "luminance": 0.01135
}

Semantic roles & 50–950 ramp

primary
#310F26
secondary
#316B44
accent
#DD7A4B
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #310F26

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

Preview Lab → · Contrast checker → · Palette generator →

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