#5F1A3D#5F1A3D

#5F1A3D is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.1% C 0.107 H 353.0°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#5F1A3D
RGBrgb(95, 26, 61)
HSLhsl(330, 57%, 24%)
HSVhsv(330, 73%, 37%)
CMYKcmyk(0%, 72.6%, 35.8%, 62.7%)
CIE-LABlab(21.98, 34.63, -5.07)
CIE-LCHlch(21.98, 34.99, 351.67°)
OKLaboklab(34.14% 0.1058 -0.013)
OKLCHoklch(34.14% 0.107 353)
XYZxyz(5.9313, 3.5093, 4.7790)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1A3D #1A5F3C
analogous
#5E1A5F #5F1A3D #5F1A1A
triadic
#5F1A3D #3D5F1A #1A3D5F
tetradic
#5F1A3D #5F5E1A #1A5F3C #1A1A5F
square
#5F1A3D #5F5E1A #1A5F3C #1A1A5F
split-complementary
#5F1A3D #1A5F1A #1A5F5E
monochromatic
#18070F #2F0D1E #5F1A3D #8F275C #BF347B

Accessibility & contrast

On white

12.34
#5F1A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5F1A3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1A3D
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1A3D#FFFFFF#000000##FFFFFF
##5F1A3D1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252D3E
Deuteranopia (green-blind)
#39393B
Tritanopia (blue-blind)
#671529
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f1a3d;
/* rgb */ color: rgb(95, 26, 61);
/* oklch */ color: oklch(34.1% 0.107 353.0);
Tailwind
colors: {
  custom: {
    50: '#905c72',
    500: '#5f1a3d',
    950: '#000000',
  },
}
SCSS
$custom: #5f1a3d;
$custom-light: #905c72;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1a3d",
  "rgb": {
    "r": 95,
    "g": 26,
    "b": 61
  },
  "hsl": {
    "h": 329.565,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34142,
    "c": 0.1066,
    "h": 353
  },
  "luminance": 0.03509
}

Semantic roles & 50–950 ramp

primary
#5F1A3D
secondary
#40956A
accent
#E09348
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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