#5F1539#5F1539

#5F1539 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.4% C 0.111 H 355.3°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#5F1539
RGBrgb(95, 21, 57)
HSLhsl(331, 64%, 23%)
HSVhsv(331, 78%, 37%)
CMYKcmyk(0%, 77.9%, 40%, 62.7%)
CIE-LABlab(21.08, 36.20, -3.64)
CIE-LCHlch(21.08, 36.38, 354.25°)
OKLaboklab(33.43% 0.1111 -0.0091)
OKLCHoklch(33.43% 0.111 355.3)
XYZxyz(5.7264, 3.2653, 4.1988)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1539 #155F3B
analogous
#5F155E #5F1539 #5F1615
triadic
#5F1539 #395F15 #15395F
tetradic
#5F1539 #5E5F15 #155F3B #16155F
square
#5F1539 #5E5F15 #155F3B #16155F
split-complementary
#5F1539 #155F16 #155E5F
monochromatic
#19060F #2D0A1B #5F1539 #912057 #C32B75

Accessibility & contrast

On white

12.70
#5F1539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5F1539 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1539
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1539#FFFFFF#000000##FFFFFF
##5F15391.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1539;
/* rgb */ color: rgb(95, 21, 57);
/* oklch */ color: oklch(33.4% 0.111 355.3);
Tailwind
colors: {
  custom: {
    50: '#905a6f',
    500: '#5f1539',
    950: '#000000',
  },
}
SCSS
$custom: #5f1539;
$custom-light: #905a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1539",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 57
  },
  "hsl": {
    "h": 330.811,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3343,
    "c": 0.11143,
    "h": 355.3
  },
  "luminance": 0.03265
}

Semantic roles & 50–950 ramp

primary
#5F1539
secondary
#3A9669
accent
#E79641
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F1539

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

Preview Lab → · Contrast checker → · Palette generator →

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