#5F1232#5F1232

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

Color values

HEX#5F1232
RGBrgb(95, 18, 50)
HSLhsl(335, 68%, 22%)
HSVhsv(335, 81%, 37%)
CMYKcmyk(0%, 81.1%, 47.4%, 62.7%)
CIE-LABlab(20.43, 36.52, 0.29)
CIE-LCHlch(20.43, 36.52, 0.46°)
OKLaboklab(32.87% 0.1121 0.0012)
OKLCHoklch(32.87% 0.112 0.6)
XYZxyz(5.5118, 3.0965, 3.3244)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1232 #125F3F
analogous
#5F1259 #5F1232 #5F1912
triadic
#5F1232 #325F12 #12325F
tetradic
#5F1232 #595F12 #125F3F #19125F
square
#5F1232 #595F12 #125F3F #19125F
split-complementary
#5F1232 #125F19 #12595F
monochromatic
#1A050E #2C0817 #5F1232 #921C4D #C62568

Accessibility & contrast

On white

12.97
#5F1232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1232
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1232#FFFFFF#000000##FFFFFF
##5F12321.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242833
Deuteranopia (green-blind)
#383730
Tritanopia (blue-blind)
#680420
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1232;
/* rgb */ color: rgb(95, 18, 50);
/* oklch */ color: oklch(32.9% 0.112 0.6);
Tailwind
colors: {
  custom: {
    50: '#915869',
    500: '#5f1232',
    950: '#000000',
  },
}
SCSS
$custom: #5f1232;
$custom-light: #915869;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1232",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 50
  },
  "hsl": {
    "h": 335.065,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3287,
    "c": 0.11213,
    "h": 0.6
  },
  "luminance": 0.03096
}

Semantic roles & 50–950 ramp

primary
#5F1232
secondary
#36976F
accent
#EBA33D
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1232

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

Preview Lab → · Contrast checker → · Palette generator →

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