#31061B#31061B

#31061B is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.5% C 0.073 H 355.0°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#31061B
RGBrgb(49, 6, 27)
HSLhsl(331, 78%, 11%)
HSVhsv(331, 88%, 19%)
CMYKcmyk(0%, 87.8%, 44.9%, 80.8%)
CIE-LABlab(7.79, 23.69, -2.51)
CIE-LCHlch(7.79, 23.82, 353.95°)
OKLaboklab(21.47% 0.0727 -0.0063)
OKLCHoklch(21.47% 0.073 355)
XYZxyz(1.5297, 0.8625, 1.1226)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31061B #06311C
analogous
#310630 #31061B #310606
triadic
#31061B #1B3106 #061B31
tetradic
#31061B #303106 #06311C #060631
square
#31061B #303106 #06311C #060631
split-complementary
#31061B #063106 #063031
monochromatic
#1B030F #1B030F #31061B #680D39 #9E1357

Accessibility & contrast

On white

17.91
#31061B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#31061B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31061B
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31061B#FFFFFF#000000##FFFFFF
##31061B1.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E121C
Deuteranopia (green-blind)
#1A1A1A
Tritanopia (blue-blind)
#36030F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #31061b;
/* rgb */ color: rgb(49, 6, 27);
/* oklch */ color: oklch(21.5% 0.073 355.0);
Tailwind
colors: {
  custom: {
    50: '#6c4a57',
    500: '#31061b',
    950: '#000000',
  },
}
SCSS
$custom: #31061b;
$custom-light: #6c4a57;
$custom-dark: #000000;
JSON
{
  "hex": "#31061b",
  "rgb": {
    "r": 49,
    "g": 6,
    "b": 27
  },
  "hsl": {
    "h": 330.698,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2147,
    "c": 0.073,
    "h": 355
  },
  "luminance": 0.00862
}

Semantic roles & 50–950 ramp

primary
#31061B
secondary
#21724A
accent
#F59633
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #31061B

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

Preview Lab → · Contrast checker → · Palette generator →

#31061B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva