#310119#310119

#310119 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.6% C 0.082 H 355.4°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#310119
RGBrgb(49, 1, 25)
HSLhsl(330, 96%, 10%)
HSVhsv(330, 98%, 19%)
CMYKcmyk(0%, 98%, 49%, 80.8%)
CIE-LABlab(6.73, 26.12, -2.51)
CIE-LCHlch(6.73, 26.24, 354.52°)
OKLaboklab(20.62% 0.0816 -0.0066)
OKLCHoklch(20.62% 0.082 355.4)
XYZxyz(1.4531, 0.7451, 0.9868)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310119 #013119
analogous
#310131 #310119 #310101
triadic
#310119 #193101 #011931
tetradic
#310119 #313101 #013119 #010131
square
#310119 #313101 #013119 #010131
split-complementary
#310119 #013101 #013131
monochromatic
#1E010F #1E010F #310119 #6D0238 #A90356

Accessibility & contrast

On white

18.28
#310119 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310119
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310119#FFFFFF#000000##FFFFFF
##3101191.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0F1A
Deuteranopia (green-blind)
#181818
Tritanopia (blue-blind)
#36000B
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #310119;
/* rgb */ color: rgb(49, 1, 25);
/* oklch */ color: oklch(20.6% 0.082 355.4);
Tailwind
colors: {
  custom: {
    50: '#6c4755',
    500: '#310119',
    950: '#000000',
  },
}
SCSS
$custom: #310119;
$custom-light: #6c4755;
$custom-dark: #000000;
JSON
{
  "hex": "#310119",
  "rgb": {
    "r": 49,
    "g": 1,
    "b": 25
  },
  "hsl": {
    "h": 330,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20616,
    "c": 0.08186,
    "h": 355.4
  },
  "luminance": 0.00745
}

Semantic roles & 50–950 ramp

primary
#310119
secondary
#177747
accent
#FF9429
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070003
muted
#7A7778

Preview Lab

Preview with #310119

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

Preview Lab → · Contrast checker → · Palette generator →

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