#5F1442#5F1442

#5F1442 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.7% C 0.118 H 347.7°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#5F1442
RGBrgb(95, 20, 66)
HSLhsl(323, 65%, 23%)
HSVhsv(323, 79%, 37%)
CMYKcmyk(0%, 78.9%, 30.5%, 62.7%)
CIE-LABlab(21.31, 37.75, -9.52)
CIE-LCHlch(21.31, 38.93, 345.84°)
OKLaboklab(33.72% 0.1149 -0.0251)
OKLCHoklch(33.72% 0.118 347.7)
XYZxyz(5.9531, 3.3272, 5.4819)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1442 #145F31
analogous
#56145F #5F1442 #5F141D
triadic
#5F1442 #425F14 #14425F
tetradic
#5F1442 #5F5614 #145F31 #141D5F
square
#5F1442 #5F5614 #145F31 #141D5F
split-complementary
#5F1442 #1D5F14 #145F56
monochromatic
#190512 #2C091F #5F1442 #921F65 #C42988

Accessibility & contrast

On white

12.61
#5F1442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5F1442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1442
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1442#FFFFFF#000000##FFFFFF
##5F14421.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2B43
Deuteranopia (green-blind)
#353840
Tritanopia (blue-blind)
#661129
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1442;
/* rgb */ color: rgb(95, 20, 66);
/* oklch */ color: oklch(33.7% 0.118 347.7);
Tailwind
colors: {
  custom: {
    50: '#905a76',
    500: '#5f1442',
    950: '#000000',
  },
}
SCSS
$custom: #5f1442;
$custom-light: #905a76;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1442",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 66
  },
  "hsl": {
    "h": 323.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33721,
    "c": 0.11764,
    "h": 347.7
  },
  "luminance": 0.03327
}

Semantic roles & 50–950 ramp

primary
#5F1442
secondary
#38975D
accent
#E88140
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1442

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

Preview Lab → · Contrast checker → · Palette generator →

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