#5F1239#5F1239

#5F1239 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.1% C 0.115 H 354.7°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#5F1239
RGBrgb(95, 18, 57)
HSLhsl(330, 68%, 22%)
HSVhsv(330, 81%, 37%)
CMYKcmyk(0%, 81.1%, 40%, 62.7%)
CIE-LABlab(20.68, 37.32, -4.24)
CIE-LCHlch(20.68, 37.56, 353.52°)
OKLaboklab(33.14% 0.1146 -0.0107)
OKLCHoklch(33.14% 0.115 354.7)
XYZxyz(5.6745, 3.1616, 4.1815)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1239 #125F38
analogous
#5F125F #5F1239 #5F1213
triadic
#5F1239 #395F12 #12395F
tetradic
#5F1239 #5F5F12 #125F38 #12135F
square
#5F1239 #5F5F12 #125F38 #12135F
split-complementary
#5F1239 #135F12 #125F5F
monochromatic
#1A050F #2C081A #5F1239 #921C58 #C62577

Accessibility & contrast

On white

12.87
#5F1239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5F1239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1239
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1239#FFFFFF#000000##FFFFFF
##5F12391.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21293A
Deuteranopia (green-blind)
#373737
Tritanopia (blue-blind)
#670923
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1239;
/* rgb */ color: rgb(95, 18, 57);
/* oklch */ color: oklch(33.1% 0.115 354.7);
Tailwind
colors: {
  custom: {
    50: '#90596f',
    500: '#5f1239',
    950: '#000000',
  },
}
SCSS
$custom: #5f1239;
$custom-light: #90596f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1239",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 329.61,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33139,
    "c": 0.11509,
    "h": 354.7
  },
  "luminance": 0.03161
}

Semantic roles & 50–950 ramp

primary
#5F1239
secondary
#369766
accent
#EB933D
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F1239

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

Preview Lab → · Contrast checker → · Palette generator →

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