#310319#310319

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

Color values

HEX#310319
RGBrgb(49, 3, 25)
HSLhsl(331, 88%, 10%)
HSVhsv(331, 94%, 19%)
CMYKcmyk(0%, 93.9%, 49%, 80.8%)
CIE-LABlab(7.12, 25.04, -1.93)
CIE-LCHlch(7.12, 25.12, 355.59°)
OKLaboklab(20.93% 0.0776 -0.0049)
OKLCHoklch(20.93% 0.078 356.4)
XYZxyz(1.4748, 0.7885, 0.9940)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310319 #03311B
analogous
#310330 #310319 #310403
triadic
#310319 #193103 #031931
tetradic
#310319 #303103 #03311B #040331
square
#310319 #303103 #03311B #040331
split-complementary
#310319 #033104 #033031
monochromatic
#1D020F #1D020F #310319 #6B0736 #A40A54

Accessibility & contrast

On white

18.14
#310319 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310319
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310319#FFFFFF#000000##FFFFFF
##3103191.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310319;
/* rgb */ color: rgb(49, 3, 25);
/* oklch */ color: oklch(20.9% 0.078 356.4);
Tailwind
colors: {
  custom: {
    50: '#6c4855',
    500: '#310319',
    950: '#000000',
  },
}
SCSS
$custom: #310319;
$custom-light: #6c4855;
$custom-dark: #000000;
JSON
{
  "hex": "#310319",
  "rgb": {
    "r": 49,
    "g": 3,
    "b": 25
  },
  "hsl": {
    "h": 331.304,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.2093,
    "c": 0.07774,
    "h": 356.4
  },
  "luminance": 0.00788
}

Semantic roles & 50–950 ramp

primary
#310319
secondary
#1B744A
accent
#FF9929
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070103
muted
#7A7778

Preview Lab

Preview with #310319

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

Preview Lab → · Contrast checker → · Palette generator →

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