#5F1328#5F1328

#5F1328 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.6% C 0.108 H 9.6°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#5F1328
RGBrgb(95, 19, 40)
HSLhsl(343, 67%, 22%)
HSVhsv(343, 80%, 37%)
CMYKcmyk(0%, 80%, 57.9%, 62.7%)
CIE-LABlab(20.25, 35.19, 7.10)
CIE-LCHlch(20.25, 35.89, 11.40°)
OKLaboklab(32.64% 0.1068 0.018)
OKLCHoklch(32.64% 0.108 9.6)
XYZxyz(5.3357, 3.0526, 2.3153)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1328 #135F4A
analogous
#5F134E #5F1328 #5F2413
triadic
#5F1328 #285F13 #13285F
tetradic
#5F1328 #4E5F13 #135F4A #24135F
square
#5F1328 #4E5F13 #135F4A #24135F
split-complementary
#5F1328 #135F24 #134E5F
monochromatic
#1A050B #2C0913 #5F1328 #921D3D #C52753

Accessibility & contrast

On white

13.04
#5F1328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5F1328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1328
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1328#FFFFFF#000000##FFFFFF
##5F13281.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272728
Deuteranopia (green-blind)
#3A3626
Tritanopia (blue-blind)
#68011C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1328;
/* rgb */ color: rgb(95, 19, 40);
/* oklch */ color: oklch(32.6% 0.108 9.6);
Tailwind
colors: {
  custom: {
    50: '#915861',
    500: '#5f1328',
    950: '#000000',
  },
}
SCSS
$custom: #5f1328;
$custom-light: #915861;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1328",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 40
  },
  "hsl": {
    "h": 343.421,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32643,
    "c": 0.10835,
    "h": 9.6
  },
  "luminance": 0.03052
}

Semantic roles & 50–950 ramp

primary
#5F1328
secondary
#37977C
accent
#EABA3E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0405
muted
#7E7979

Preview Lab

Preview with #5F1328

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

Preview Lab → · Contrast checker → · Palette generator →

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