#5F1334#5F1334

#5F1334 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.112 H 359.1°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#5F1334
RGBrgb(95, 19, 52)
HSLhsl(334, 67%, 22%)
HSVhsv(334, 80%, 37%)
CMYKcmyk(0%, 80%, 45.3%, 62.7%)
CIE-LABlab(20.62, 36.38, -0.82)
CIE-LCHlch(20.62, 36.39, 358.71°)
OKLaboklab(33.04% 0.1117 -0.0017)
OKLCHoklch(33.04% 0.112 359.1)
XYZxyz(5.5724, 3.1473, 3.5622)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1334 #135F3E
analogous
#5F135A #5F1334 #5F1813
triadic
#5F1334 #345F13 #13345F
tetradic
#5F1334 #5A5F13 #135F3E #18135F
square
#5F1334 #5A5F13 #135F3E #18135F
split-complementary
#5F1334 #135F18 #135A5F
monochromatic
#1A050E #2C0918 #5F1334 #921D50 #C5276C

Accessibility & contrast

On white

12.89
#5F1334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5F1334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1334
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1334#FFFFFF#000000##FFFFFF
##5F13341.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242835
Deuteranopia (green-blind)
#383732
Tritanopia (blue-blind)
#680721
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1334;
/* rgb */ color: rgb(95, 19, 52);
/* oklch */ color: oklch(33.0% 0.112 359.1);
Tailwind
colors: {
  custom: {
    50: '#90596b',
    500: '#5f1334',
    950: '#000000',
  },
}
SCSS
$custom: #5f1334;
$custom-light: #90596b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1334",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 52
  },
  "hsl": {
    "h": 333.947,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33038,
    "c": 0.11171,
    "h": 359.1
  },
  "luminance": 0.03147
}

Semantic roles & 50–950 ramp

primary
#5F1334
secondary
#37976D
accent
#EA9F3E
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1334

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

Preview Lab → · Contrast checker → · Palette generator →

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