#5F1944#5F1944

#5F1944 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.3% C 0.112 H 346.8°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#5F1944
RGBrgb(95, 25, 68)
HSLhsl(323, 58%, 24%)
HSVhsv(323, 74%, 37%)
CMYKcmyk(0%, 73.7%, 28.4%, 62.7%)
CIE-LABlab(22.11, 36.03, -9.68)
CIE-LCHlch(22.11, 37.31, 344.97°)
OKLaboklab(34.34% 0.1092 -0.0256)
OKLCHoklch(34.34% 0.112 346.8)
XYZxyz(6.1106, 3.5462, 5.8304)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1944 #195F34
analogous
#57195F #5F1944 #5F1921
triadic
#5F1944 #445F19 #19445F
tetradic
#5F1944 #5F5719 #195F34 #19215F
square
#5F1944 #5F5719 #195F34 #19215F
split-complementary
#5F1944 #215F19 #195F57
monochromatic
#180611 #2F0C21 #5F1944 #8F2667 #C03289

Accessibility & contrast

On white

12.29
#5F1944 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5F1944 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1944
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1944#FFFFFF#000000##FFFFFF
##5F19441.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222D45
Deuteranopia (green-blind)
#363942
Tritanopia (blue-blind)
#66172C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f1944;
/* rgb */ color: rgb(95, 25, 68);
/* oklch */ color: oklch(34.3% 0.112 346.8);
Tailwind
colors: {
  custom: {
    50: '#8f5c78',
    500: '#5f1944',
    950: '#000000',
  },
}
SCSS
$custom: #5f1944;
$custom-light: #8f5c78;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1944",
  "rgb": {
    "r": 95,
    "g": 25,
    "b": 68
  },
  "hsl": {
    "h": 323.143,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34335,
    "c": 0.11219,
    "h": 346.8
  },
  "luminance": 0.03546
}

Semantic roles & 50–950 ramp

primary
#5F1944
secondary
#3F9560
accent
#E28246
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1944

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

Preview Lab → · Contrast checker → · Palette generator →

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