#310E26#310E26

#310E26 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.2% C 0.066 H 341.7°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#310E26
RGBrgb(49, 14, 38)
HSLhsl(319, 56%, 12%)
HSVhsv(319, 71%, 19%)
CMYKcmyk(0%, 71.4%, 22.4%, 80.8%)
CIE-LABlab(9.85, 21.18, -7.78)
CIE-LCHlch(9.85, 22.57, 339.82°)
OKLaboklab(23.16% 0.0631 -0.0208)
OKLCHoklch(23.16% 0.066 341.7)
XYZxyz(1.7736, 1.1071, 1.9536)
Luminance0.0111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310E26 #0E3119
analogous
#2B0E31 #310E26 #310E15
triadic
#310E26 #26310E #0E2631
tetradic
#310E26 #312B0E #0E3119 #0E1531
square
#310E26 #312B0E #0E3119 #0E1531
split-complementary
#310E26 #15310E #0E312B
monochromatic
#180712 #180712 #310E26 #611C4B #902970

Accessibility & contrast

On white

17.19
#310E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310E26
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310E26#FFFFFF#000000##FFFFFF
##310E261.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101827
Deuteranopia (green-blind)
#1B1D25
Tritanopia (blue-blind)
#340E18
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #310e26;
/* rgb */ color: rgb(49, 14, 38);
/* oklch */ color: oklch(23.2% 0.066 341.7);
Tailwind
colors: {
  custom: {
    50: '#6b4f60',
    500: '#310e26',
    950: '#000000',
  },
}
SCSS
$custom: #310e26;
$custom-light: #6b4f60;
$custom-dark: #000000;
JSON
{
  "hex": "#310e26",
  "rgb": {
    "r": 49,
    "g": 14,
    "b": 38
  },
  "hsl": {
    "h": 318.857,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23156,
    "c": 0.0664,
    "h": 341.7
  },
  "luminance": 0.01107
}

Semantic roles & 50–950 ramp

primary
#310E26
secondary
#2F6C42
accent
#DF7849
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #310E26

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

Preview Lab → · Contrast checker → · Palette generator →

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