#5F1645#5F1645

#5F1645 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 34.1% C 0.117 H 345.6°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#5F1645
RGBrgb(95, 22, 69)
HSLhsl(321, 62%, 23%)
HSVhsv(321, 77%, 37%)
CMYKcmyk(0%, 76.8%, 27.4%, 62.7%)
CIE-LABlab(21.72, 37.41, -10.96)
CIE-LCHlch(21.72, 38.98, 343.67°)
OKLaboklab(34.06% 0.1133 -0.0291)
OKLCHoklch(34.06% 0.117 345.6)
XYZxyz(6.0807, 3.4370, 5.9723)
Luminance0.0344 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1645 #165F30
analogous
#54165F #5F1645 #5F1620
triadic
#5F1645 #455F16 #16455F
tetradic
#5F1645 #5F5416 #165F30 #16205F
square
#5F1645 #5F5416 #165F30 #16205F
split-complementary
#5F1645 #205F16 #165F54
monochromatic
#190612 #2D0A21 #5F1645 #912269 #C22D8D

Accessibility & contrast

On white

12.45
#5F1645 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1645
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1645#FFFFFF#000000##FFFFFF
##5F16451.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2C46
Deuteranopia (green-blind)
#353943
Tritanopia (blue-blind)
#66152B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1645;
/* rgb */ color: rgb(95, 22, 69);
/* oklch */ color: oklch(34.1% 0.117 345.6);
Tailwind
colors: {
  custom: {
    50: '#8f5b78',
    500: '#5f1645',
    950: '#000000',
  },
}
SCSS
$custom: #5f1645;
$custom-light: #8f5b78;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1645",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 69
  },
  "hsl": {
    "h": 321.37,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34061,
    "c": 0.11697,
    "h": 345.6
  },
  "luminance": 0.03436
}

Semantic roles & 50–950 ramp

primary
#5F1645
secondary
#3B965B
accent
#E57C42
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1645

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

Preview Lab → · Contrast checker → · Palette generator →

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