#310111#310111

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

Color values

HEX#310111
RGBrgb(49, 1, 17)
HSLhsl(340, 96%, 10%)
HSVhsv(340, 98%, 19%)
CMYKcmyk(0%, 98%, 65.3%, 80.8%)
CIE-LABlab(6.46, 25.12, 2.62)
CIE-LCHlch(6.46, 25.26, 5.96°)
OKLaboklab(20.29% 0.0783 0.0085)
OKLCHoklch(20.29% 0.079 6.2)
XYZxyz(1.3788, 0.7154, 0.5957)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310111 #013121
analogous
#310129 #310111 #310901
triadic
#310111 #113101 #011131
tetradic
#310111 #293101 #013121 #090131
square
#310111 #293101 #013121 #090131
split-complementary
#310111 #013109 #012931
monochromatic
#1E010A #1E010A #310111 #6D0226 #A9033B

Accessibility & contrast

On white

18.37
#310111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310111
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310111#FFFFFF#000000##FFFFFF
##3101111.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0E11
Deuteranopia (green-blind)
#1A1810
Tritanopia (blue-blind)
#360007
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #310111;
/* rgb */ color: rgb(49, 1, 17);
/* oklch */ color: oklch(20.3% 0.079 6.2);
Tailwind
colors: {
  custom: {
    50: '#6d474f',
    500: '#310111',
    950: '#000000',
  },
}
SCSS
$custom: #310111;
$custom-light: #6d474f;
$custom-dark: #000000;
JSON
{
  "hex": "#310111",
  "rgb": {
    "r": 49,
    "g": 1,
    "b": 17
  },
  "hsl": {
    "h": 340,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20294,
    "c": 0.07875,
    "h": 6.2
  },
  "luminance": 0.00715
}

Semantic roles & 50–950 ramp

primary
#310111
secondary
#177757
accent
#FFB829
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #310111

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

Preview Lab → · Contrast checker → · Palette generator →

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