#5F1643#5F1643

#5F1643 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 34.0% C 0.116 H 347.2°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#5F1643
RGBrgb(95, 22, 67)
HSLhsl(323, 62%, 23%)
HSVhsv(323, 77%, 37%)
CMYKcmyk(0%, 76.8%, 29.5%, 62.7%)
CIE-LABlab(21.63, 37.12, -9.73)
CIE-LCHlch(21.63, 38.38, 345.31°)
OKLaboklab(33.97% 0.1128 -0.0257)
OKLCHoklch(33.97% 0.116 347.2)
XYZxyz(6.0196, 3.4126, 5.6508)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1643 #165F32
analogous
#56165F #5F1643 #5F161E
triadic
#5F1643 #435F16 #16435F
tetradic
#5F1643 #5F5616 #165F32 #161E5F
square
#5F1643 #5F5616 #165F32 #161E5F
split-complementary
#5F1643 #1E5F16 #165F56
monochromatic
#190612 #2D0A20 #5F1643 #912266 #C22D89

Accessibility & contrast

On white

12.48
#5F1643 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5F1643 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1643
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1643#FFFFFF#000000##FFFFFF
##5F16431.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202C44
Deuteranopia (green-blind)
#353841
Tritanopia (blue-blind)
#66142A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1643;
/* rgb */ color: rgb(95, 22, 67);
/* oklch */ color: oklch(34.0% 0.116 347.2);
Tailwind
colors: {
  custom: {
    50: '#905b77',
    500: '#5f1643',
    950: '#000000',
  },
}
SCSS
$custom: #5f1643;
$custom-light: #905b77;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1643",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 67
  },
  "hsl": {
    "h": 323.014,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33966,
    "c": 0.11568,
    "h": 347.2
  },
  "luminance": 0.03412
}

Semantic roles & 50–950 ramp

primary
#5F1643
secondary
#3B965E
accent
#E58142
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1643

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

Preview Lab → · Contrast checker → · Palette generator →

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