#5F1647#5F1647

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

Color values

HEX#5F1647
RGBrgb(95, 22, 71)
HSLhsl(320, 62%, 23%)
HSVhsv(320, 77%, 37%)
CMYKcmyk(0%, 76.8%, 25.3%, 62.7%)
CIE-LABlab(21.81, 37.70, -12.19)
CIE-LCHlch(21.81, 39.62, 342.08°)
OKLaboklab(34.16% 0.1138 -0.0325)
OKLCHoklch(34.16% 0.118 344)
XYZxyz(6.1438, 3.4623, 6.3047)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1647 #165F2E
analogous
#52165F #5F1647 #5F1622
triadic
#5F1647 #475F16 #16475F
tetradic
#5F1647 #5F5216 #165F2E #16225F
square
#5F1647 #5F5216 #165F2E #16225F
split-complementary
#5F1647 #225F16 #165F52
monochromatic
#190613 #2D0A22 #5F1647 #91226C #C22D91

Accessibility & contrast

On white

12.41
#5F1647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5F1647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1647
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1647#FFFFFF#000000##FFFFFF
##5F16471.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2C48
Deuteranopia (green-blind)
#343945
Tritanopia (blue-blind)
#66162C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1647;
/* rgb */ color: rgb(95, 22, 71);
/* oklch */ color: oklch(34.2% 0.118 344.0);
Tailwind
colors: {
  custom: {
    50: '#8f5b7a',
    500: '#5f1647',
    950: '#000000',
  },
}
SCSS
$custom: #5f1647;
$custom-light: #8f5b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1647",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 71
  },
  "hsl": {
    "h": 319.726,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34158,
    "c": 0.11831,
    "h": 344
  },
  "luminance": 0.03462
}

Semantic roles & 50–950 ramp

primary
#5F1647
secondary
#3B9659
accent
#E57842
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1647

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

Preview Lab → · Contrast checker → · Palette generator →

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