#310216#310216

#310216 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.6% C 0.078 H 360.0°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#310216
RGBrgb(49, 2, 22)
HSLhsl(334, 92%, 10%)
HSVhsv(334, 96%, 19%)
CMYKcmyk(0%, 95.9%, 55.1%, 80.8%)
CIE-LABlab(6.82, 25.19, -0.11)
CIE-LCHlch(6.82, 25.19, 359.75°)
OKLaboklab(20.65% 0.0784 0)
OKLCHoklch(20.65% 0.078 0)
XYZxyz(1.4333, 0.7545, 0.8291)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310216 #02311D
analogous
#31022E #310216 #310502
triadic
#310216 #163102 #021631
tetradic
#310216 #2E3102 #02311D #050231
square
#310216 #2E3102 #02311D #050231
split-complementary
#310216 #023105 #022E31
monochromatic
#1D010D #1D010D #310216 #6C0430 #A7074B

Accessibility & contrast

On white

18.25
#310216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310216
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310216#FFFFFF#000000##FFFFFF
##3102161.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0F16
Deuteranopia (green-blind)
#191815
Tritanopia (blue-blind)
#36000A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #310216;
/* rgb */ color: rgb(49, 2, 22);
/* oklch */ color: oklch(20.6% 0.078 360.0);
Tailwind
colors: {
  custom: {
    50: '#6c4752',
    500: '#310216',
    950: '#000000',
  },
}
SCSS
$custom: #310216;
$custom-light: #6c4752;
$custom-dark: #000000;
JSON
{
  "hex": "#310216",
  "rgb": {
    "r": 49,
    "g": 2,
    "b": 22
  },
  "hsl": {
    "h": 334.468,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.20645,
    "c": 0.0784,
    "h": 360
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#310216
secondary
#19754E
accent
#FFA429
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #310216

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

Preview Lab → · Contrast checker → · Palette generator →

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