#5F1037#5F1037

#5F1037 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.116 H 355.9°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#5F1037
RGBrgb(95, 16, 55)
HSLhsl(330, 71%, 22%)
HSVhsv(330, 83%, 37%)
CMYKcmyk(0%, 83.2%, 42.1%, 62.7%)
CIE-LABlab(20.36, 37.77, -3.31)
CIE-LCHlch(20.36, 37.91, 354.99°)
OKLaboklab(32.88% 0.1161 -0.0082)
OKLCHoklch(32.88% 0.116 355.9)
XYZxyz(5.5946, 3.0800, 3.9136)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1037 #105F38
analogous
#5F105F #5F1037 #5F1110
triadic
#5F1037 #375F10 #10375F
tetradic
#5F1037 #5F5F10 #105F38 #11105F
square
#5F1037 #5F5F10 #105F38 #11105F
split-complementary
#5F1037 #105F11 #105F5F
monochromatic
#1A040F #2B0719 #5F1037 #931955 #C82274

Accessibility & contrast

On white

13.00
#5F1037 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5F1037 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1037
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1037#FFFFFF#000000##FFFFFF
##5F10371.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212838
Deuteranopia (green-blind)
#373635
Tritanopia (blue-blind)
#670522
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1037;
/* rgb */ color: rgb(95, 16, 55);
/* oklch */ color: oklch(32.9% 0.116 355.9);
Tailwind
colors: {
  custom: {
    50: '#90586d',
    500: '#5f1037',
    950: '#000000',
  },
}
SCSS
$custom: #5f1037;
$custom-light: #90586d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1037",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 55
  },
  "hsl": {
    "h": 330.38,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32881,
    "c": 0.1164,
    "h": 355.9
  },
  "luminance": 0.03079
}

Semantic roles & 50–950 ramp

primary
#5F1037
secondary
#339866
accent
#EE953A
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F1037

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

Preview Lab → · Contrast checker → · Palette generator →

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