#31041A#31041A

#31041A is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.1% C 0.076 H 355.5°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#31041A
RGBrgb(49, 4, 26)
HSLhsl(331, 85%, 10%)
HSVhsv(331, 92%, 19%)
CMYKcmyk(0%, 91.8%, 46.9%, 80.8%)
CIE-LABlab(7.36, 24.64, -2.37)
CIE-LCHlch(7.36, 24.75, 354.50°)
OKLaboklab(21.13% 0.076 -0.006)
OKLCHoklch(21.13% 0.076 355.5)
XYZxyz(1.4966, 0.8146, 1.0555)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31041A #04311B
analogous
#310430 #31041A #310504
triadic
#31041A #1A3104 #041A31
tetradic
#31041A #303104 #04311B #050431
square
#31041A #303104 #04311B #050431
split-complementary
#31041A #043105 #043031
monochromatic
#1C020F #1C020F #31041A #6A0938 #A20D56

Accessibility & contrast

On white

18.06
#31041A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#31041A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31041A
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31041A#FFFFFF#000000##FFFFFF
##31041A1.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C111B
Deuteranopia (green-blind)
#191919
Tritanopia (blue-blind)
#36010D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #31041a;
/* rgb */ color: rgb(49, 4, 26);
/* oklch */ color: oklch(21.1% 0.076 355.5);
Tailwind
colors: {
  custom: {
    50: '#6c4956',
    500: '#31041a',
    950: '#000000',
  },
}
SCSS
$custom: #31041a;
$custom-light: #6c4956;
$custom-dark: #000000;
JSON
{
  "hex": "#31041a",
  "rgb": {
    "r": 49,
    "g": 4,
    "b": 26
  },
  "hsl": {
    "h": 330.667,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21128,
    "c": 0.07627,
    "h": 355.5
  },
  "luminance": 0.00814
}

Semantic roles & 50–950 ramp

primary
#31041A
secondary
#1D7349
accent
#FB962D
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #31041A

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

Preview Lab → · Contrast checker → · Palette generator →

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