#5F1639#5F1639

#5F1639 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.5% C 0.110 H 355.5°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#5F1639
RGBrgb(95, 22, 57)
HSLhsl(331, 62%, 23%)
HSVhsv(331, 77%, 37%)
CMYKcmyk(0%, 76.8%, 40%, 62.7%)
CIE-LABlab(21.22, 35.80, -3.43)
CIE-LCHlch(21.22, 35.97, 354.52°)
OKLaboklab(33.53% 0.1098 -0.0086)
OKLCHoklch(33.53% 0.11 355.5)
XYZxyz(5.7451, 3.3028, 4.2051)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1639 #165F3C
analogous
#5F165D #5F1639 #5F1816
triadic
#5F1639 #395F16 #16395F
tetradic
#5F1639 #5D5F16 #165F3C #18165F
square
#5F1639 #5D5F16 #165F3C #18165F
split-complementary
#5F1639 #165F18 #165D5F
monochromatic
#19060F #2D0A1B #5F1639 #912257 #C22D75

Accessibility & contrast

On white

12.65
#5F1639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5F1639 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1639
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1639#FFFFFF#000000##FFFFFF
##5F16391.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242A3A
Deuteranopia (green-blind)
#383837
Tritanopia (blue-blind)
#670E25
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1639;
/* rgb */ color: rgb(95, 22, 57);
/* oklch */ color: oklch(33.5% 0.110 355.5);
Tailwind
colors: {
  custom: {
    50: '#905a6f',
    500: '#5f1639',
    950: '#000000',
  },
}
SCSS
$custom: #5f1639;
$custom-light: #905a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1639",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 57
  },
  "hsl": {
    "h": 331.233,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33533,
    "c": 0.11013,
    "h": 355.5
  },
  "luminance": 0.03302
}

Semantic roles & 50–950 ramp

primary
#5F1639
secondary
#3B966A
accent
#E59742
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F1639

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

Preview Lab → · Contrast checker → · Palette generator →

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