#310219#310219

#310219 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.8% C 0.080 H 355.9°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#310219
RGBrgb(49, 2, 25)
HSLhsl(331, 92%, 10%)
HSVhsv(331, 96%, 19%)
CMYKcmyk(0%, 95.9%, 49%, 80.8%)
CIE-LABlab(6.93, 25.58, -2.22)
CIE-LCHlch(6.93, 25.68, 355.04°)
OKLaboklab(20.77% 0.0796 -0.0058)
OKLCHoklch(20.77% 0.08 355.9)
XYZxyz(1.4639, 0.7668, 0.9904)
Luminance0.0077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310219 #02311A
analogous
#310231 #310219 #310202
triadic
#310219 #193102 #021931
tetradic
#310219 #313102 #02311A #020231
square
#310219 #313102 #02311A #020231
split-complementary
#310219 #023102 #023131
monochromatic
#1D010F #1D010F #310219 #6C0437 #A70755

Accessibility & contrast

On white

18.21
#310219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310219
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310219#FFFFFF#000000##FFFFFF
##3102191.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0F1A
Deuteranopia (green-blind)
#191918
Tritanopia (blue-blind)
#36000C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #310219;
/* rgb */ color: rgb(49, 2, 25);
/* oklch */ color: oklch(20.8% 0.080 355.9);
Tailwind
colors: {
  custom: {
    50: '#6c4755',
    500: '#310219',
    950: '#000000',
  },
}
SCSS
$custom: #310219;
$custom-light: #6c4755;
$custom-dark: #000000;
JSON
{
  "hex": "#310219",
  "rgb": {
    "r": 49,
    "g": 2,
    "b": 25
  },
  "hsl": {
    "h": 330.638,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.20774,
    "c": 0.07977,
    "h": 355.9
  },
  "luminance": 0.00767
}

Semantic roles & 50–950 ramp

primary
#310219
secondary
#197548
accent
#FF9629
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070003
muted
#7A7778

Preview Lab

Preview with #310219

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

Preview Lab → · Contrast checker → · Palette generator →

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