#31061C#31061C

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

Color values

HEX#31061C
RGBrgb(49, 6, 28)
HSLhsl(329, 78%, 11%)
HSVhsv(329, 88%, 19%)
CMYKcmyk(0%, 87.8%, 42.9%, 80.8%)
CIE-LABlab(7.83, 23.83, -3.22)
CIE-LCHlch(7.83, 24.05, 352.29°)
OKLaboklab(21.52% 0.0731 -0.0082)
OKLCHoklch(21.52% 0.074 353.6)
XYZxyz(1.5414, 0.8672, 1.1846)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31061C #06311B
analogous
#300631 #31061C #310606
triadic
#31061C #1C3106 #061C31
tetradic
#31061C #313006 #06311B #060631
square
#31061C #313006 #06311B #060631
split-complementary
#31061C #063106 #063130
monochromatic
#1B0310 #1B0310 #31061C #680D3B #9E135A

Accessibility & contrast

On white

17.90
#31061C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31061C
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31061C#FFFFFF#000000##FFFFFF
##31061C1.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31061c;
/* rgb */ color: rgb(49, 6, 28);
/* oklch */ color: oklch(21.5% 0.074 353.6);
Tailwind
colors: {
  custom: {
    50: '#6c4a57',
    500: '#31061c',
    950: '#000000',
  },
}
SCSS
$custom: #31061c;
$custom-light: #6c4a57;
$custom-dark: #000000;
JSON
{
  "hex": "#31061c",
  "rgb": {
    "r": 49,
    "g": 6,
    "b": 28
  },
  "hsl": {
    "h": 329.302,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21516,
    "c": 0.07356,
    "h": 353.6
  },
  "luminance": 0.00867
}

Semantic roles & 50–950 ramp

primary
#31061C
secondary
#217248
accent
#F59233
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #31061C

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

Preview Lab → · Contrast checker → · Palette generator →

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