#5F1540#5F1540

#5F1540 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.7% C 0.115 H 349.4°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#5F1540
RGBrgb(95, 21, 64)
HSLhsl(325, 64%, 23%)
HSVhsv(325, 78%, 37%)
CMYKcmyk(0%, 77.9%, 32.6%, 62.7%)
CIE-LABlab(21.36, 37.10, -8.07)
CIE-LCHlch(21.36, 37.97, 347.72°)
OKLaboklab(33.73% 0.1132 -0.0211)
OKLCHoklch(33.73% 0.115 349.4)
XYZxyz(5.9132, 3.3401, 5.1828)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1540 #155F34
analogous
#59155F #5F1540 #5F151B
triadic
#5F1540 #405F15 #15405F
tetradic
#5F1540 #5F5915 #155F34 #151B5F
square
#5F1540 #5F5915 #155F34 #151B5F
split-complementary
#5F1540 #1B5F15 #155F59
monochromatic
#190611 #2D0A1E #5F1540 #912062 #C32B84

Accessibility & contrast

On white

12.59
#5F1540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5F1540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1540
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1540#FFFFFF#000000##FFFFFF
##5F15401.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B41
Deuteranopia (green-blind)
#36383E
Tritanopia (blue-blind)
#661128
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1540;
/* rgb */ color: rgb(95, 21, 64);
/* oklch */ color: oklch(33.7% 0.115 349.4);
Tailwind
colors: {
  custom: {
    50: '#905a74',
    500: '#5f1540',
    950: '#000000',
  },
}
SCSS
$custom: #5f1540;
$custom-light: #905a74;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1540",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 64
  },
  "hsl": {
    "h": 325.135,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33727,
    "c": 0.11516,
    "h": 349.4
  },
  "luminance": 0.03339
}

Semantic roles & 50–950 ramp

primary
#5F1540
secondary
#3A9660
accent
#E78641
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1540

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

Preview Lab → · Contrast checker → · Palette generator →

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