#310519#310519

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

Color values

HEX#310519
RGBrgb(49, 5, 25)
HSLhsl(333, 81%, 11%)
HSVhsv(333, 90%, 19%)
CMYKcmyk(0%, 89.8%, 49%, 80.8%)
CIE-LABlab(7.51, 23.96, -1.36)
CIE-LCHlch(7.51, 24.00, 356.75°)
OKLaboklab(21.23% 0.0738 -0.0033)
OKLCHoklch(21.23% 0.074 357.4)
XYZxyz(1.4965, 0.8319, 1.0013)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310519 #05311D
analogous
#31052F #310519 #310705
triadic
#310519 #193105 #051931
tetradic
#310519 #2F3105 #05311D #070531
square
#310519 #2F3105 #05311D #070531
split-complementary
#310519 #053107 #052F31
monochromatic
#1C030E #1C030E #310519 #690B35 #A01052

Accessibility & contrast

On white

18.00
#310519 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#310519 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310519
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310519#FFFFFF#000000##FFFFFF
##3105191.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E111A
Deuteranopia (green-blind)
#1A1A18
Tritanopia (blue-blind)
#36010D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310519;
/* rgb */ color: rgb(49, 5, 25);
/* oklch */ color: oklch(21.2% 0.074 357.4);
Tailwind
colors: {
  custom: {
    50: '#6c4955',
    500: '#310519',
    950: '#000000',
  },
}
SCSS
$custom: #310519;
$custom-light: #6c4955;
$custom-dark: #000000;
JSON
{
  "hex": "#310519",
  "rgb": {
    "r": 49,
    "g": 5,
    "b": 25
  },
  "hsl": {
    "h": 332.727,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21234,
    "c": 0.07386,
    "h": 357.4
  },
  "luminance": 0.00832
}

Semantic roles & 50–950 ramp

primary
#310519
secondary
#1F724D
accent
#F89D30
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070103
muted
#7A7778

Preview Lab

Preview with #310519

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

Preview Lab → · Contrast checker → · Palette generator →

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