#5F1132#5F1132

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

Color values

HEX#5F1132
RGBrgb(95, 17, 50)
HSLhsl(335, 70%, 22%)
HSVhsv(335, 82%, 37%)
CMYKcmyk(0%, 82.1%, 47.4%, 62.7%)
CIE-LABlab(20.30, 36.87, 0.11)
CIE-LCHlch(20.30, 36.87, 0.17°)
OKLaboklab(32.78% 0.1133 0.0007)
OKLCHoklch(32.78% 0.113 0.4)
XYZxyz(5.4959, 3.0648, 3.3192)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1132 #115F3E
analogous
#5F1159 #5F1132 #5F1711
triadic
#5F1132 #325F11 #11325F
tetradic
#5F1132 #595F11 #115F3E #17115F
square
#5F1132 #595F11 #115F3E #17115F
split-complementary
#5F1132 #115F17 #11595F
monochromatic
#1A050E #2B0817 #5F1132 #931A4D #C72469

Accessibility & contrast

On white

13.02
#5F1132 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1132
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1132#FFFFFF#000000##FFFFFF
##5F11321.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232733
Deuteranopia (green-blind)
#383630
Tritanopia (blue-blind)
#680320
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1132;
/* rgb */ color: rgb(95, 17, 50);
/* oklch */ color: oklch(32.8% 0.113 0.4);
Tailwind
colors: {
  custom: {
    50: '#915869',
    500: '#5f1132',
    950: '#000000',
  },
}
SCSS
$custom: #5f1132;
$custom-light: #915869;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1132",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 50
  },
  "hsl": {
    "h": 334.615,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32778,
    "c": 0.11325,
    "h": 0.4
  },
  "luminance": 0.03064
}

Semantic roles & 50–950 ramp

primary
#5F1132
secondary
#34986E
accent
#ECA23B
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1132

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

Preview Lab → · Contrast checker → · Palette generator →

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