#310116#310116

#310116 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.5% C 0.080 H 359.4°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#310116
RGBrgb(49, 1, 22)
HSLhsl(334, 96%, 10%)
HSVhsv(334, 98%, 19%)
CMYKcmyk(0%, 98%, 55.1%, 80.8%)
CIE-LABlab(6.62, 25.72, -0.39)
CIE-LCHlch(6.62, 25.72, 359.12°)
OKLaboklab(20.49% 0.0805 -0.0009)
OKLCHoklch(20.49% 0.08 359.4)
XYZxyz(1.4224, 0.7328, 0.8254)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310116 #01311C
analogous
#31012E #310116 #310401
triadic
#310116 #163101 #011631
tetradic
#310116 #2E3101 #01311C #040131
square
#310116 #2E3101 #01311C #040131
split-complementary
#310116 #013104 #012E31
monochromatic
#1E010D #1E010D #310116 #6D0231 #A9034C

Accessibility & contrast

On white

18.32
#310116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#310116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310116
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310116#FFFFFF#000000##FFFFFF
##3101161.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0E17
Deuteranopia (green-blind)
#191815
Tritanopia (blue-blind)
#360009
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #310116;
/* rgb */ color: rgb(49, 1, 22);
/* oklch */ color: oklch(20.5% 0.080 359.4);
Tailwind
colors: {
  custom: {
    50: '#6d4752',
    500: '#310116',
    950: '#000000',
  },
}
SCSS
$custom: #310116;
$custom-light: #6d4752;
$custom-dark: #000000;
JSON
{
  "hex": "#310116",
  "rgb": {
    "r": 49,
    "g": 1,
    "b": 22
  },
  "hsl": {
    "h": 333.75,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20485,
    "c": 0.08046,
    "h": 359.4
  },
  "luminance": 0.00733
}

Semantic roles & 50–950 ramp

primary
#310116
secondary
#17774D
accent
#FFA129
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #310116

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

Preview Lab → · Contrast checker → · Palette generator →

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