#5F1428#5F1428

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

Color values

HEX#5F1428
RGBrgb(95, 20, 40)
HSLhsl(344, 65%, 23%)
HSVhsv(344, 79%, 37%)
CMYKcmyk(0%, 78.9%, 57.9%, 62.7%)
CIE-LABlab(20.39, 34.80, 7.29)
CIE-LCHlch(20.39, 35.56, 11.82°)
OKLaboklab(32.74% 0.1056 0.0185)
OKLCHoklch(32.74% 0.107 9.9)
XYZxyz(5.3530, 3.0872, 2.3211)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1428 #145F4B
analogous
#5F144D #5F1428 #5F2614
triadic
#5F1428 #285F14 #14285F
tetradic
#5F1428 #4D5F14 #145F4B #26145F
square
#5F1428 #4D5F14 #145F4B #26145F
split-complementary
#5F1428 #145F26 #144D5F
monochromatic
#19050B #2C0913 #5F1428 #921F3D #C42953

Accessibility & contrast

On white

12.99
#5F1428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1428
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1428#FFFFFF#000000##FFFFFF
##5F14281.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1428;
/* rgb */ color: rgb(95, 20, 40);
/* oklch */ color: oklch(32.7% 0.107 9.9);
Tailwind
colors: {
  custom: {
    50: '#915961',
    500: '#5f1428',
    950: '#000000',
  },
}
SCSS
$custom: #5f1428;
$custom-light: #915961;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1428",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 40
  },
  "hsl": {
    "h": 344,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32744,
    "c": 0.10721,
    "h": 9.9
  },
  "luminance": 0.03086
}

Semantic roles & 50–950 ramp

primary
#5F1428
secondary
#38977D
accent
#E8BB40
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0405
muted
#7E7979

Preview Lab

Preview with #5F1428

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

Preview Lab → · Contrast checker → · Palette generator →

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