#31061E#31061E

#31061E is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.6% C 0.075 H 350.7°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#31061E
RGBrgb(49, 6, 30)
HSLhsl(327, 78%, 11%)
HSVhsv(327, 88%, 19%)
CMYKcmyk(0%, 87.8%, 38.8%, 80.8%)
CIE-LABlab(7.92, 24.12, -4.64)
CIE-LCHlch(7.92, 24.56, 349.11°)
OKLaboklab(21.61% 0.0738 -0.0121)
OKLCHoklch(21.61% 0.075 350.7)
XYZxyz(1.5662, 0.8771, 1.3149)
Luminance0.0088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31061E #063119
analogous
#2E0631 #31061E #310608
triadic
#31061E #1E3106 #061E31
tetradic
#31061E #312E06 #063119 #060831
square
#31061E #312E06 #063119 #060831
split-complementary
#31061E #083106 #06312E
monochromatic
#1B0311 #1B0311 #31061E #680D3F #9E1361

Accessibility & contrast

On white

17.87
#31061E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#31061E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31061E
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31061E#FFFFFF#000000##FFFFFF
##31061E1.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D121F
Deuteranopia (green-blind)
#191A1D
Tritanopia (blue-blind)
#350410
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #31061e;
/* rgb */ color: rgb(49, 6, 30);
/* oklch */ color: oklch(21.6% 0.075 350.7);
Tailwind
colors: {
  custom: {
    50: '#6c4a59',
    500: '#31061e',
    950: '#000000',
  },
}
SCSS
$custom: #31061e;
$custom-light: #6c4a59;
$custom-dark: #000000;
JSON
{
  "hex": "#31061e",
  "rgb": {
    "r": 49,
    "g": 6,
    "b": 30
  },
  "hsl": {
    "h": 326.512,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21612,
    "c": 0.07476,
    "h": 350.7
  },
  "luminance": 0.00877
}

Semantic roles & 50–950 ramp

primary
#31061E
secondary
#217245
accent
#F58933
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #31061E

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

Preview Lab → · Contrast checker → · Palette generator →

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