#5F1748#5F1748

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

Color values

HEX#5F1748
RGBrgb(95, 23, 72)
HSLhsl(319, 61%, 23%)
HSVhsv(319, 76%, 37%)
CMYKcmyk(0%, 75.8%, 24.2%, 62.7%)
CIE-LABlab(22.00, 37.45, -12.58)
CIE-LCHlch(22.00, 39.51, 341.43°)
OKLaboklab(34.31% 0.1128 -0.0336)
OKLCHoklch(34.31% 0.118 343.4)
XYZxyz(6.1956, 3.5142, 6.4817)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1748 #175F2E
analogous
#52175F #5F1748 #5F1724
triadic
#5F1748 #485F17 #17485F
tetradic
#5F1748 #5F5217 #175F2E #17245F
square
#5F1748 #5F5217 #175F2E #17245F
split-complementary
#5F1748 #245F17 #175F52
monochromatic
#190613 #2E0B23 #5F1748 #90236D #C22F93

Accessibility & contrast

On white

12.33
#5F1748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1748
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1748#FFFFFF#000000##FFFFFF
##5F17481.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2D49
Deuteranopia (green-blind)
#343946
Tritanopia (blue-blind)
#65172D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f1748;
/* rgb */ color: rgb(95, 23, 72);
/* oklch */ color: oklch(34.3% 0.118 343.4);
Tailwind
colors: {
  custom: {
    50: '#8f5b7b',
    500: '#5f1748',
    950: '#000000',
  },
}
SCSS
$custom: #5f1748;
$custom-light: #8f5b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1748",
  "rgb": {
    "r": 95,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 319.167,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3431,
    "c": 0.11766,
    "h": 343.4
  },
  "luminance": 0.03514
}

Semantic roles & 50–950 ramp

primary
#5F1748
secondary
#3C9659
accent
#E47744
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1748

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

Preview Lab → · Contrast checker → · Palette generator →

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