#5F1438#5F1438

#5F1438 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.3% C 0.112 H 355.9°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#5F1438
RGBrgb(95, 20, 56)
HSLhsl(331, 65%, 23%)
HSVhsv(331, 79%, 37%)
CMYKcmyk(0%, 78.9%, 41.1%, 62.7%)
CIE-LABlab(20.90, 36.46, -3.21)
CIE-LCHlch(20.90, 36.60, 354.97°)
OKLaboklab(33.29% 0.1119 -0.008)
OKLCHoklch(33.29% 0.112 355.9)
XYZxyz(5.6837, 3.2194, 4.0627)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1438 #145F3B
analogous
#5F145D #5F1438 #5F1614
triadic
#5F1438 #385F14 #14385F
tetradic
#5F1438 #5D5F14 #145F3B #16145F
square
#5F1438 #5D5F14 #145F3B #16145F
split-complementary
#5F1438 #145F16 #145D5F
monochromatic
#19050F #2C091A #5F1438 #921F56 #C42974

Accessibility & contrast

On white

12.78
#5F1438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5F1438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1438
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1438#FFFFFF#000000##FFFFFF
##5F14381.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232939
Deuteranopia (green-blind)
#383736
Tritanopia (blue-blind)
#670B24
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1438;
/* rgb */ color: rgb(95, 20, 56);
/* oklch */ color: oklch(33.3% 0.112 355.9);
Tailwind
colors: {
  custom: {
    50: '#90596e',
    500: '#5f1438',
    950: '#000000',
  },
}
SCSS
$custom: #5f1438;
$custom-light: #90596e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1438",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 56
  },
  "hsl": {
    "h": 331.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33289,
    "c": 0.11221,
    "h": 355.9
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#5F1438
secondary
#389769
accent
#E89740
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F1438

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

Preview Lab → · Contrast checker → · Palette generator →

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