#5F1036#5F1036

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

Color values

HEX#5F1036
RGBrgb(95, 16, 54)
HSLhsl(331, 71%, 22%)
HSVhsv(331, 83%, 37%)
CMYKcmyk(0%, 83.2%, 43.2%, 62.7%)
CIE-LABlab(20.32, 37.65, -2.67)
CIE-LCHlch(20.32, 37.75, 355.95°)
OKLaboklab(32.84% 0.1158 -0.0065)
OKLCHoklch(32.84% 0.116 356.8)
XYZxyz(5.5709, 3.0705, 3.7886)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1036 #105F39
analogous
#5F105E #5F1036 #5F1210
triadic
#5F1036 #365F10 #10365F
tetradic
#5F1036 #5E5F10 #105F39 #12105F
square
#5F1036 #5E5F10 #105F39 #12105F
split-complementary
#5F1036 #105F12 #105E5F
monochromatic
#1A040F #2B0718 #5F1036 #931954 #C82272

Accessibility & contrast

On white

13.01
#5F1036 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1036
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1036#FFFFFF#000000##FFFFFF
##5F10361.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212837
Deuteranopia (green-blind)
#373634
Tritanopia (blue-blind)
#670421
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1036;
/* rgb */ color: rgb(95, 16, 54);
/* oklch */ color: oklch(32.8% 0.116 356.8);
Tailwind
colors: {
  custom: {
    50: '#90586c',
    500: '#5f1036',
    950: '#000000',
  },
}
SCSS
$custom: #5f1036;
$custom-light: #90586c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1036",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 54
  },
  "hsl": {
    "h": 331.139,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32842,
    "c": 0.11595,
    "h": 356.8
  },
  "luminance": 0.0307
}

Semantic roles & 50–950 ramp

primary
#5F1036
secondary
#339867
accent
#EE973A
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F1036

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

Preview Lab → · Contrast checker → · Palette generator →

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