#5F1032#5F1032

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

Color values

HEX#5F1032
RGBrgb(95, 16, 50)
HSLhsl(334, 71%, 22%)
HSVhsv(334, 83%, 37%)
CMYKcmyk(0%, 83.2%, 47.4%, 62.7%)
CIE-LABlab(20.18, 37.21, -0.06)
CIE-LCHlch(20.18, 37.21, 359.90°)
OKLaboklab(32.69% 0.1143 0.0003)
OKLCHoklch(32.69% 0.114 0.1)
XYZxyz(5.4808, 3.0345, 3.3141)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1032 #105F3D
analogous
#5F105A #5F1032 #5F1610
triadic
#5F1032 #325F10 #10325F
tetradic
#5F1032 #5A5F10 #105F3D #16105F
square
#5F1032 #5A5F10 #105F3D #16105F
split-complementary
#5F1032 #105F16 #105A5F
monochromatic
#1A040E #2B0716 #5F1032 #93194E #C82269

Accessibility & contrast

On white

13.07
#5F1032 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1032
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1032#FFFFFF#000000##FFFFFF
##5F10321.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222733
Deuteranopia (green-blind)
#383630
Tritanopia (blue-blind)
#68021F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1032;
/* rgb */ color: rgb(95, 16, 50);
/* oklch */ color: oklch(32.7% 0.114 0.1);
Tailwind
colors: {
  custom: {
    50: '#915869',
    500: '#5f1032',
    950: '#000000',
  },
}
SCSS
$custom: #5f1032;
$custom-light: #915869;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1032",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 50
  },
  "hsl": {
    "h": 334.177,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3269,
    "c": 0.11434,
    "h": 0.1
  },
  "luminance": 0.03034
}

Semantic roles & 50–950 ramp

primary
#5F1032
secondary
#33986C
accent
#EEA03A
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1032

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

Preview Lab → · Contrast checker → · Palette generator →

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