#31061A#31061A

#31061A is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.4% C 0.072 H 356.5°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#31061A
RGBrgb(49, 6, 26)
HSLhsl(332, 78%, 11%)
HSVhsv(332, 88%, 19%)
CMYKcmyk(0%, 87.8%, 46.9%, 80.8%)
CIE-LABlab(7.75, 23.55, -1.79)
CIE-LCHlch(7.75, 23.62, 355.65°)
OKLaboklab(21.43% 0.0724 -0.0044)
OKLCHoklch(21.43% 0.073 356.5)
XYZxyz(1.5183, 0.8580, 1.0627)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31061A #06311D
analogous
#31062F #31061A #310706
triadic
#31061A #1A3106 #061A31
tetradic
#31061A #2F3106 #06311D #070631
square
#31061A #2F3106 #06311D #070631
split-complementary
#31061A #063107 #062F31
monochromatic
#1B030E #1B030E #31061A #680D37 #9E1354

Accessibility & contrast

On white

17.92
#31061A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31061A
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31061A#FFFFFF#000000##FFFFFF
##31061A1.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E121B
Deuteranopia (green-blind)
#1A1A19
Tritanopia (blue-blind)
#36030E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #31061a;
/* rgb */ color: rgb(49, 6, 26);
/* oklch */ color: oklch(21.4% 0.072 356.5);
Tailwind
colors: {
  custom: {
    50: '#6c4a56',
    500: '#31061a',
    950: '#000000',
  },
}
SCSS
$custom: #31061a;
$custom-light: #6c4a56;
$custom-dark: #000000;
JSON
{
  "hex": "#31061a",
  "rgb": {
    "r": 49,
    "g": 6,
    "b": 26
  },
  "hsl": {
    "h": 332.093,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21426,
    "c": 0.0725,
    "h": 356.5
  },
  "luminance": 0.00858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31061A

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

Preview Lab → · Contrast checker → · Palette generator →

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