#310416#310416

#310416 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.0% C 0.074 H 1.2°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#310416
RGBrgb(49, 4, 22)
HSLhsl(336, 85%, 10%)
HSVhsv(336, 92%, 19%)
CMYKcmyk(0%, 91.8%, 55.1%, 80.8%)
CIE-LABlab(7.21, 24.12, 0.46)
CIE-LCHlch(7.21, 24.12, 1.10°)
OKLaboklab(20.96% 0.0744 0.0016)
OKLCHoklch(20.96% 0.074 1.2)
XYZxyz(1.4550, 0.7979, 0.8363)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310416 #04311F
analogous
#31042C #310416 #310804
triadic
#310416 #163104 #041631
tetradic
#310416 #2C3104 #04311F #080431
square
#310416 #2C3104 #04311F #080431
split-complementary
#310416 #043108 #042C31
monochromatic
#1C020D #1C020D #310416 #6A092F #A20D49

Accessibility & contrast

On white

18.11
#310416 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#310416 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310416
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310416#FFFFFF#000000##FFFFFF
##3104161.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1016
Deuteranopia (green-blind)
#1A1915
Tritanopia (blue-blind)
#36000B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310416;
/* rgb */ color: rgb(49, 4, 22);
/* oklch */ color: oklch(21.0% 0.074 1.2);
Tailwind
colors: {
  custom: {
    50: '#6c4852',
    500: '#310416',
    950: '#000000',
  },
}
SCSS
$custom: #310416;
$custom-light: #6c4852;
$custom-dark: #000000;
JSON
{
  "hex": "#310416",
  "rgb": {
    "r": 49,
    "g": 4,
    "b": 22
  },
  "hsl": {
    "h": 336,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20958,
    "c": 0.07446,
    "h": 1.2
  },
  "luminance": 0.00798
}

Semantic roles & 50–950 ramp

primary
#310416
secondary
#1D7351
accent
#FBA92D
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310416

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

Preview Lab → · Contrast checker → · Palette generator →

#310416 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva