#31111F#31111F

#31111F is a very dark, muted pink. Relative luminance 0.012; OKLCH L 23.3% C 0.055 H 354.8°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#31111F
RGBrgb(49, 17, 31)
HSLhsl(334, 48%, 13%)
HSVhsv(334, 65%, 19%)
CMYKcmyk(0%, 65.3%, 36.7%, 80.8%)
CIE-LABlab(10.21, 18.17, -1.99)
CIE-LCHlch(10.21, 18.28, 353.76°)
OKLaboklab(23.31% 0.0552 -0.005)
OKLCHoklch(23.31% 0.055 354.8)
XYZxyz(1.7145, 1.1530, 1.4283)
Luminance0.0115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31111F #113123
analogous
#31112F #31111F #311311
triadic
#31111F #1F3111 #111F31
tetradic
#31111F #2F3111 #113123 #131131
square
#31111F #2F3111 #113123 #131131
split-complementary
#31111F #113113 #112F31
monochromatic
#17080E #17080E #31111F #5E213C #8C3158

Accessibility & contrast

On white

17.06
#31111F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#31111F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31111F
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31111F#FFFFFF#000000##FFFFFF
##31111F1.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16181F
Deuteranopia (green-blind)
#1E1E1E
Tritanopia (blue-blind)
#350F16
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #31111f;
/* rgb */ color: rgb(49, 17, 31);
/* oklch */ color: oklch(23.3% 0.055 354.8);
Tailwind
colors: {
  custom: {
    50: '#6b505a',
    500: '#31111f',
    950: '#000000',
  },
}
SCSS
$custom: #31111f;
$custom-light: #6b505a;
$custom-dark: #000000;
JSON
{
  "hex": "#31111f",
  "rgb": {
    "r": 49,
    "g": 17,
    "b": 31
  },
  "hsl": {
    "h": 333.75,
    "s": 48.485,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23314,
    "c": 0.0554,
    "h": 354.8
  },
  "luminance": 0.01153
}

Semantic roles & 50–950 ramp

primary
#31111F
secondary
#346A52
accent
#D89C50
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070203
muted
#7A7878

Preview Lab

Preview with #31111F

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

Preview Lab → · Contrast checker → · Palette generator →

#31111F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva