#5F1433#5F1433

#5F1433 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.1% C 0.110 H 0.2°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#5F1433
RGBrgb(95, 20, 51)
HSLhsl(335, 65%, 23%)
HSVhsv(335, 79%, 37%)
CMYKcmyk(0%, 78.9%, 46.3%, 62.7%)
CIE-LABlab(20.72, 35.89, 0.03)
CIE-LCHlch(20.72, 35.89, 0.04°)
OKLaboklab(33.1% 0.1101 0.0005)
OKLCHoklch(33.1% 0.11 0.2)
XYZxyz(5.5674, 3.1729, 3.4506)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1433 #145F40
analogous
#5F1458 #5F1433 #5F1B14
triadic
#5F1433 #335F14 #14335F
tetradic
#5F1433 #585F14 #145F40 #1B145F
square
#5F1433 #585F14 #145F40 #1B145F
split-complementary
#5F1433 #145F1B #14585F
monochromatic
#19050E #2C0918 #5F1433 #921F4E #C42969

Accessibility & contrast

On white

12.85
#5F1433 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5F1433 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1433
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1433#FFFFFF#000000##FFFFFF
##5F14331.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242934
Deuteranopia (green-blind)
#393731
Tritanopia (blue-blind)
#680821
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1433;
/* rgb */ color: rgb(95, 20, 51);
/* oklch */ color: oklch(33.1% 0.110 0.2);
Tailwind
colors: {
  custom: {
    50: '#90596a',
    500: '#5f1433',
    950: '#000000',
  },
}
SCSS
$custom: #5f1433;
$custom-light: #90596a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1433",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 51
  },
  "hsl": {
    "h": 335.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.331,
    "c": 0.11013,
    "h": 0.2
  },
  "luminance": 0.03172
}

Semantic roles & 50–950 ramp

primary
#5F1433
secondary
#389770
accent
#E8A340
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1433

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

Preview Lab → · Contrast checker → · Palette generator →

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