#5F1429#5F1429

#5F1429 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.107 H 9.1°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#5F1429
RGBrgb(95, 20, 41)
HSLhsl(343, 65%, 23%)
HSVhsv(343, 79%, 37%)
CMYKcmyk(0%, 78.9%, 56.8%, 62.7%)
CIE-LABlab(20.42, 34.89, 6.62)
CIE-LCHlch(20.42, 35.52, 10.74°)
OKLaboklab(32.77% 0.106 0.0169)
OKLCHoklch(32.77% 0.107 9.1)
XYZxyz(5.3702, 3.0940, 2.4118)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1429 #145F4A
analogous
#5F144E #5F1429 #5F2514
triadic
#5F1429 #295F14 #14295F
tetradic
#5F1429 #4E5F14 #145F4A #25145F
square
#5F1429 #4E5F14 #145F4A #25145F
split-complementary
#5F1429 #145F25 #144E5F
monochromatic
#19050B #2C0913 #5F1429 #921F3F #C42955

Accessibility & contrast

On white

12.97
#5F1429 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5F1429 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1429
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1429#FFFFFF#000000##FFFFFF
##5F14291.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272829
Deuteranopia (green-blind)
#3A3727
Tritanopia (blue-blind)
#68031D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1429;
/* rgb */ color: rgb(95, 20, 41);
/* oklch */ color: oklch(32.8% 0.107 9.1);
Tailwind
colors: {
  custom: {
    50: '#915962',
    500: '#5f1429',
    950: '#000000',
  },
}
SCSS
$custom: #5f1429;
$custom-light: #915962;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1429",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 41
  },
  "hsl": {
    "h": 343.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32773,
    "c": 0.10738,
    "h": 9.1
  },
  "luminance": 0.03093
}

Semantic roles & 50–950 ramp

primary
#5F1429
secondary
#38977C
accent
#E8B940
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5F1429

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

Preview Lab → · Contrast checker → · Palette generator →

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