#5F1437#5F1437

#5F1437 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.3% C 0.112 H 356.8°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#5F1437
RGBrgb(95, 20, 55)
HSLhsl(332, 65%, 23%)
HSVhsv(332, 79%, 37%)
CMYKcmyk(0%, 78.9%, 42.1%, 62.7%)
CIE-LABlab(20.86, 36.34, -2.56)
CIE-LCHlch(20.86, 36.44, 355.96°)
OKLaboklab(33.25% 0.1116 -0.0063)
OKLCHoklch(33.25% 0.112 356.8)
XYZxyz(5.6594, 3.2097, 3.9352)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1437 #145F3C
analogous
#5F145C #5F1437 #5F1714
triadic
#5F1437 #375F14 #14375F
tetradic
#5F1437 #5C5F14 #145F3C #17145F
square
#5F1437 #5C5F14 #145F3C #17145F
split-complementary
#5F1437 #145F17 #145C5F
monochromatic
#19050F #2C091A #5F1437 #921F54 #C42972

Accessibility & contrast

On white

12.79
#5F1437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5F1437 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1437
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1437#FFFFFF#000000##FFFFFF
##5F14371.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232938
Deuteranopia (green-blind)
#383735
Tritanopia (blue-blind)
#670A23
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1437;
/* rgb */ color: rgb(95, 20, 55);
/* oklch */ color: oklch(33.3% 0.112 356.8);
Tailwind
colors: {
  custom: {
    50: '#90596d',
    500: '#5f1437',
    950: '#000000',
  },
}
SCSS
$custom: #5f1437;
$custom-light: #90596d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1437",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 55
  },
  "hsl": {
    "h": 332,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3325,
    "c": 0.11176,
    "h": 356.8
  },
  "luminance": 0.03209
}

Semantic roles & 50–950 ramp

primary
#5F1437
secondary
#38976B
accent
#E89A40
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F1437

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

Preview Lab → · Contrast checker → · Palette generator →

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