#310414#310414

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

Color values

HEX#310414
RGBrgb(49, 4, 20)
HSLhsl(339, 85%, 10%)
HSVhsv(339, 92%, 19%)
CMYKcmyk(0%, 91.8%, 59.2%, 80.8%)
CIE-LABlab(7.14, 23.87, 1.75)
CIE-LCHlch(7.14, 23.94, 4.18°)
OKLaboklab(20.88% 0.0736 0.0053)
OKLCHoklch(20.88% 0.074 4.1)
XYZxyz(1.4364, 0.7905, 0.7386)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310414 #043121
analogous
#31042A #310414 #310B04
triadic
#310414 #143104 #041431
tetradic
#310414 #2A3104 #043121 #0B0431
square
#310414 #2A3104 #043121 #0B0431
split-complementary
#310414 #04310B #042A31
monochromatic
#1C020C #1C020C #310414 #6A092B #A20D42

Accessibility & contrast

On white

18.13
#310414 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310414
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310414#FFFFFF#000000##FFFFFF
##3104141.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1014
Deuteranopia (green-blind)
#1B1913
Tritanopia (blue-blind)
#36000A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310414;
/* rgb */ color: rgb(49, 4, 20);
/* oklch */ color: oklch(20.9% 0.074 4.1);
Tailwind
colors: {
  custom: {
    50: '#6c4851',
    500: '#310414',
    950: '#000000',
  },
}
SCSS
$custom: #310414;
$custom-light: #6c4851;
$custom-dark: #000000;
JSON
{
  "hex": "#310414",
  "rgb": {
    "r": 49,
    "g": 4,
    "b": 20
  },
  "hsl": {
    "h": 338.667,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20882,
    "c": 0.07376,
    "h": 4.1
  },
  "luminance": 0.0079
}

Semantic roles & 50–950 ramp

primary
#310414
secondary
#1D7355
accent
#FBB22D
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310414

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

Preview Lab → · Contrast checker → · Palette generator →

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