#31041E#31041E

#31041E is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.3% C 0.079 H 350.0°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#31041E
RGBrgb(49, 4, 30)
HSLhsl(325, 85%, 10%)
HSVhsv(325, 92%, 19%)
CMYKcmyk(0%, 91.8%, 38.8%, 80.8%)
CIE-LABlab(7.53, 25.22, -5.23)
CIE-LCHlch(7.53, 25.76, 348.28°)
OKLaboklab(21.32% 0.0774 -0.0137)
OKLCHoklch(21.32% 0.079 350)
XYZxyz(1.5445, 0.8337, 1.3076)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31041E #043117
analogous
#2D0431 #31041E #310408
triadic
#31041E #1E3104 #041E31
tetradic
#31041E #312D04 #043117 #040831
square
#31041E #312D04 #043117 #040831
split-complementary
#31041E #083104 #04312D
monochromatic
#1C0211 #1C0211 #31041E #6A0941 #A20D63

Accessibility & contrast

On white

18.00
#31041E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#31041E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31041E
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31041E#FFFFFF#000000##FFFFFF
##31041E1.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B111F
Deuteranopia (green-blind)
#181A1D
Tritanopia (blue-blind)
#35020F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #31041e;
/* rgb */ color: rgb(49, 4, 30);
/* oklch */ color: oklch(21.3% 0.079 350.0);
Tailwind
colors: {
  custom: {
    50: '#6c4959',
    500: '#31041e',
    950: '#000000',
  },
}
SCSS
$custom: #31041e;
$custom-light: #6c4959;
$custom-dark: #000000;
JSON
{
  "hex": "#31041e",
  "rgb": {
    "r": 49,
    "g": 4,
    "b": 30
  },
  "hsl": {
    "h": 325.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21319,
    "c": 0.07856,
    "h": 350
  },
  "luminance": 0.00834
}

Semantic roles & 50–950 ramp

primary
#31041E
secondary
#1D7342
accent
#FB842D
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #31041E

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

Preview Lab → · Contrast checker → · Palette generator →

#31041E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva