#5F1345#5F1345

#5F1345 is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.8% C 0.121 H 345.2°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#5F1345
RGBrgb(95, 19, 69)
HSLhsl(321, 67%, 22%)
HSVhsv(321, 80%, 37%)
CMYKcmyk(0%, 80%, 27.4%, 62.7%)
CIE-LABlab(21.32, 38.53, -11.58)
CIE-LCHlch(21.32, 40.24, 343.28°)
OKLaboklab(33.77% 0.1168 -0.0308)
OKLCHoklch(33.77% 0.121 345.2)
XYZxyz(6.0266, 3.3290, 5.9542)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1345 #135F2D
analogous
#53135F #5F1345 #5F131F
triadic
#5F1345 #455F13 #13455F
tetradic
#5F1345 #5F5313 #135F2D #131F5F
square
#5F1345 #5F5313 #135F2D #131F5F
split-complementary
#5F1345 #1F5F13 #135F53
monochromatic
#1A0513 #2C0920 #5F1345 #921D6A #C5278F

Accessibility & contrast

On white

12.61
#5F1345 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5F1345 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1345
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1345#FFFFFF#000000##FFFFFF
##5F13451.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2B46
Deuteranopia (green-blind)
#343843
Tritanopia (blue-blind)
#66122A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1345;
/* rgb */ color: rgb(95, 19, 69);
/* oklch */ color: oklch(33.8% 0.121 345.2);
Tailwind
colors: {
  custom: {
    50: '#905978',
    500: '#5f1345',
    950: '#000000',
  },
}
SCSS
$custom: #5f1345;
$custom-light: #905978;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1345",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 69
  },
  "hsl": {
    "h": 320.526,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3377,
    "c": 0.12077,
    "h": 345.2
  },
  "luminance": 0.03328
}

Semantic roles & 50–950 ramp

primary
#5F1345
secondary
#379758
accent
#EA793E
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1345

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

Preview Lab → · Contrast checker → · Palette generator →

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