#5F1745#5F1745

#5F1745 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.2% C 0.116 H 345.7°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#5F1745
RGBrgb(95, 23, 69)
HSLhsl(322, 61%, 23%)
HSVhsv(322, 76%, 37%)
CMYKcmyk(0%, 75.8%, 27.4%, 62.7%)
CIE-LABlab(21.86, 37.01, -10.75)
CIE-LCHlch(21.86, 38.54, 343.81°)
OKLaboklab(34.16% 0.1121 -0.0285)
OKLCHoklch(34.16% 0.116 345.7)
XYZxyz(6.1001, 3.4760, 5.9788)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1745 #175F31
analogous
#55175F #5F1745 #5F1721
triadic
#5F1745 #455F17 #17455F
tetradic
#5F1745 #5F5517 #175F31 #17215F
square
#5F1745 #5F5517 #175F31 #17215F
split-complementary
#5F1745 #215F17 #175F55
monochromatic
#190612 #2E0B21 #5F1745 #902369 #C22F8D

Accessibility & contrast

On white

12.39
#5F1745 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1745
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1745#FFFFFF#000000##FFFFFF
##5F17451.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202D46
Deuteranopia (green-blind)
#353943
Tritanopia (blue-blind)
#66162B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1745;
/* rgb */ color: rgb(95, 23, 69);
/* oklch */ color: oklch(34.2% 0.116 345.7);
Tailwind
colors: {
  custom: {
    50: '#8f5b78',
    500: '#5f1745',
    950: '#000000',
  },
}
SCSS
$custom: #5f1745;
$custom-light: #8f5b78;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1745",
  "rgb": {
    "r": 95,
    "g": 23,
    "b": 69
  },
  "hsl": {
    "h": 321.667,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34164,
    "c": 0.11563,
    "h": 345.7
  },
  "luminance": 0.03475
}

Semantic roles & 50–950 ramp

primary
#5F1745
secondary
#3C965C
accent
#E47E44
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1745

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

Preview Lab → · Contrast checker → · Palette generator →

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