#5F1747#5F1747

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

Color values

HEX#5F1747
RGBrgb(95, 23, 71)
HSLhsl(320, 61%, 23%)
HSVhsv(320, 76%, 37%)
CMYKcmyk(0%, 75.8%, 25.3%, 62.7%)
CIE-LABlab(21.95, 37.30, -11.97)
CIE-LCHlch(21.95, 39.18, 342.21°)
OKLaboklab(34.26% 0.1125 -0.0319)
OKLCHoklch(34.26% 0.117 344.2)
XYZxyz(6.1633, 3.5013, 6.3112)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1747 #175F2F
analogous
#53175F #5F1747 #5F1723
triadic
#5F1747 #475F17 #17475F
tetradic
#5F1747 #5F5317 #175F2F #17235F
square
#5F1747 #5F5317 #175F2F #17235F
split-complementary
#5F1747 #235F17 #175F53
monochromatic
#190612 #2E0B22 #5F1747 #90236C #C22F91

Accessibility & contrast

On white

12.35
#5F1747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1747
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1747#FFFFFF#000000##FFFFFF
##5F17471.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2D48
Deuteranopia (green-blind)
#353945
Tritanopia (blue-blind)
#66172C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f1747;
/* rgb */ color: rgb(95, 23, 71);
/* oklch */ color: oklch(34.3% 0.117 344.2);
Tailwind
colors: {
  custom: {
    50: '#8f5b7a',
    500: '#5f1747',
    950: '#000000',
  },
}
SCSS
$custom: #5f1747;
$custom-light: #8f5b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1747",
  "rgb": {
    "r": 95,
    "g": 23,
    "b": 71
  },
  "hsl": {
    "h": 320,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34261,
    "c": 0.11697,
    "h": 344.2
  },
  "luminance": 0.03501
}

Semantic roles & 50–950 ramp

primary
#5F1747
secondary
#3C965A
accent
#E47944
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1747

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

Preview Lab → · Contrast checker → · Palette generator →

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