#310719#310719

#310719 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.5% C 0.070 H 358.5°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#310719
RGBrgb(49, 7, 25)
HSLhsl(334, 75%, 11%)
HSVhsv(334, 86%, 19%)
CMYKcmyk(0%, 85.7%, 49%, 80.8%)
CIE-LABlab(7.91, 22.88, -0.78)
CIE-LCHlch(7.91, 22.89, 358.04°)
OKLaboklab(21.53% 0.0702 -0.0018)
OKLCHoklch(21.53% 0.07 358.5)
XYZxyz(1.5182, 0.8753, 1.0085)
Luminance0.0088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310719 #07311F
analogous
#31072E #310719 #310A07
triadic
#310719 #193107 #071931
tetradic
#310719 #2E3107 #07311F #0A0731
square
#310719 #2E3107 #07311F #0A0731
split-complementary
#310719 #07310A #072E31
monochromatic
#1B040E #1B040E #310719 #670F34 #9C1650

Accessibility & contrast

On white

17.87
#310719 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#310719 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310719
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310719#FFFFFF#000000##FFFFFF
##3107191.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1219
Deuteranopia (green-blind)
#1B1A18
Tritanopia (blue-blind)
#36030E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310719;
/* rgb */ color: rgb(49, 7, 25);
/* oklch */ color: oklch(21.5% 0.070 358.5);
Tailwind
colors: {
  custom: {
    50: '#6c4a55',
    500: '#310719',
    950: '#000000',
  },
}
SCSS
$custom: #310719;
$custom-light: #6c4a55;
$custom-dark: #000000;
JSON
{
  "hex": "#310719",
  "rgb": {
    "r": 49,
    "g": 7,
    "b": 25
  },
  "hsl": {
    "h": 334.286,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21529,
    "c": 0.0702,
    "h": 358.5
  },
  "luminance": 0.00875
}

Semantic roles & 50–950 ramp

primary
#310719
secondary
#23714F
accent
#F2A136
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070103
muted
#7A7778

Preview Lab

Preview with #310719

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

Preview Lab → · Contrast checker → · Palette generator →

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