#310113#310113

#310113 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.4% C 0.079 H 3.5°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#310113
RGBrgb(49, 1, 19)
HSLhsl(338, 96%, 10%)
HSVhsv(338, 98%, 19%)
CMYKcmyk(0%, 98%, 61.2%, 80.8%)
CIE-LABlab(6.52, 25.35, 1.49)
CIE-LCHlch(6.52, 25.40, 3.37°)
OKLaboklab(20.37% 0.0792 0.0048)
OKLCHoklch(20.37% 0.079 3.5)
XYZxyz(1.3952, 0.7219, 0.6818)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310113 #01311F
analogous
#31012B #310113 #310701
triadic
#310113 #133101 #011331
tetradic
#310113 #2B3101 #01311F #070131
square
#310113 #2B3101 #01311F #070131
split-complementary
#310113 #013107 #012B31
monochromatic
#1E010C #1E010C #310113 #6D022A #A90342

Accessibility & contrast

On white

18.35
#310113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#310113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310113
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310113#FFFFFF#000000##FFFFFF
##3101131.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0E13
Deuteranopia (green-blind)
#1A1812
Tritanopia (blue-blind)
#360008
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #310113;
/* rgb */ color: rgb(49, 1, 19);
/* oklch */ color: oklch(20.4% 0.079 3.5);
Tailwind
colors: {
  custom: {
    50: '#6d4750',
    500: '#310113',
    950: '#000000',
  },
}
SCSS
$custom: #310113;
$custom-light: #6d4750;
$custom-dark: #000000;
JSON
{
  "hex": "#310113",
  "rgb": {
    "r": 49,
    "g": 1,
    "b": 19
  },
  "hsl": {
    "h": 337.5,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20366,
    "c": 0.07935,
    "h": 3.5
  },
  "luminance": 0.00722
}

Semantic roles & 50–950 ramp

primary
#310113
secondary
#177753
accent
#FFAF29
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #310113

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

Preview Lab → · Contrast checker → · Palette generator →

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