#5F1638#5F1638

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

Color values

HEX#5F1638
RGBrgb(95, 22, 56)
HSLhsl(332, 62%, 23%)
HSVhsv(332, 77%, 37%)
CMYKcmyk(0%, 76.8%, 41.1%, 62.7%)
CIE-LABlab(21.18, 35.68, -2.79)
CIE-LCHlch(21.18, 35.79, 355.52°)
OKLaboklab(33.49% 0.1095 -0.0069)
OKLCHoklch(33.49% 0.11 356.4)
XYZxyz(5.7204, 3.2929, 4.0750)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1638 #165F3D
analogous
#5F165C #5F1638 #5F1916
triadic
#5F1638 #385F16 #16385F
tetradic
#5F1638 #5C5F16 #165F3D #19165F
square
#5F1638 #5C5F16 #165F3D #19165F
split-complementary
#5F1638 #165F19 #165C5F
monochromatic
#19060F #2D0A1B #5F1638 #912255 #C22D73

Accessibility & contrast

On white

12.66
#5F1638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1638
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1638#FFFFFF#000000##FFFFFF
##5F16381.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1638;
/* rgb */ color: rgb(95, 22, 56);
/* oklch */ color: oklch(33.5% 0.110 356.4);
Tailwind
colors: {
  custom: {
    50: '#905a6e',
    500: '#5f1638',
    950: '#000000',
  },
}
SCSS
$custom: #5f1638;
$custom-light: #905a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1638",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 56
  },
  "hsl": {
    "h": 332.055,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33494,
    "c": 0.10967,
    "h": 356.4
  },
  "luminance": 0.03292
}

Semantic roles & 50–950 ramp

primary
#5F1638
secondary
#3B966C
accent
#E59942
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F1638

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

Preview Lab → · Contrast checker → · Palette generator →

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