#5F1031#5F1031

#5F1031 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.7% C 0.114 H 1.0°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#5F1031
RGBrgb(95, 16, 49)
HSLhsl(335, 71%, 22%)
HSVhsv(335, 83%, 37%)
CMYKcmyk(0%, 83.2%, 48.4%, 62.7%)
CIE-LABlab(20.15, 37.11, 0.59)
CIE-LCHlch(20.15, 37.11, 0.91°)
OKLaboklab(32.65% 0.114 0.0019)
OKLCHoklch(32.65% 0.114 1)
XYZxyz(5.4594, 3.0260, 3.2017)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1031 #105F3E
analogous
#5F1059 #5F1031 #5F1710
triadic
#5F1031 #315F10 #10315F
tetradic
#5F1031 #595F10 #105F3E #17105F
square
#5F1031 #595F10 #105F3E #17105F
split-complementary
#5F1031 #105F17 #10595F
monochromatic
#1A040E #2B0716 #5F1031 #93194C #C82267

Accessibility & contrast

On white

13.08
#5F1031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5F1031 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1031
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1031#FFFFFF#000000##FFFFFF
##5F10311.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232732
Deuteranopia (green-blind)
#38362F
Tritanopia (blue-blind)
#68011F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1031;
/* rgb */ color: rgb(95, 16, 49);
/* oklch */ color: oklch(32.7% 0.114 1.0);
Tailwind
colors: {
  custom: {
    50: '#915868',
    500: '#5f1031',
    950: '#000000',
  },
}
SCSS
$custom: #5f1031;
$custom-light: #915868;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1031",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 49
  },
  "hsl": {
    "h": 334.937,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32654,
    "c": 0.11398,
    "h": 1
  },
  "luminance": 0.03025
}

Semantic roles & 50–950 ramp

primary
#5F1031
secondary
#33986E
accent
#EEA33A
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1031

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

Preview Lab → · Contrast checker → · Palette generator →

#5F1031 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva