#31051D#31051D

#31051D is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.4% C 0.076 H 351.7°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#31051D
RGBrgb(49, 5, 29)
HSLhsl(327, 81%, 11%)
HSVhsv(327, 90%, 19%)
CMYKcmyk(0%, 89.8%, 40.8%, 80.8%)
CIE-LABlab(7.68, 24.52, -4.23)
CIE-LCHlch(7.68, 24.88, 350.22°)
OKLaboklab(21.42% 0.0752 -0.0109)
OKLCHoklch(21.42% 0.076 351.7)
XYZxyz(1.5428, 0.8504, 1.2451)
Luminance0.0085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31051D #053119
analogous
#2F0531 #31051D #310507
triadic
#31051D #1D3105 #051D31
tetradic
#31051D #312F05 #053119 #050731
square
#31051D #312F05 #053119 #050731
split-complementary
#31051D #073105 #05312F
monochromatic
#1C0310 #1C0310 #31051D #690B3E #A0105F

Accessibility & contrast

On white

17.95
#31051D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#31051D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31051D
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31051D#FFFFFF#000000##FFFFFF
##31051D1.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C121E
Deuteranopia (green-blind)
#191A1C
Tritanopia (blue-blind)
#36030F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #31051d;
/* rgb */ color: rgb(49, 5, 29);
/* oklch */ color: oklch(21.4% 0.076 351.7);
Tailwind
colors: {
  custom: {
    50: '#6c4958',
    500: '#31051d',
    950: '#000000',
  },
}
SCSS
$custom: #31051d;
$custom-light: #6c4958;
$custom-dark: #000000;
JSON
{
  "hex": "#31051d",
  "rgb": {
    "r": 49,
    "g": 5,
    "b": 29
  },
  "hsl": {
    "h": 327.273,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21417,
    "c": 0.07602,
    "h": 351.7
  },
  "luminance": 0.0085
}

Semantic roles & 50–950 ramp

primary
#31051D
secondary
#1F7245
accent
#F88B30
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #31051D

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

Preview Lab → · Contrast checker → · Palette generator →

#31051D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva