#5F1045#5F1045

#5F1045 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.5% C 0.124 H 344.9°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#5F1045
RGBrgb(95, 16, 69)
HSLhsl(320, 71%, 22%)
HSVhsv(320, 83%, 37%)
CMYKcmyk(0%, 83.2%, 27.4%, 62.7%)
CIE-LABlab(20.96, 39.56, -12.13)
CIE-LCHlch(20.96, 41.37, 342.96°)
OKLaboklab(33.51% 0.1199 -0.0323)
OKLCHoklch(33.51% 0.124 344.9)
XYZxyz(5.9790, 3.2338, 5.9384)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1045 #105F2A
analogous
#52105F #5F1045 #5F101E
triadic
#5F1045 #455F10 #10455F
tetradic
#5F1045 #5F5210 #105F2A #101E5F
square
#5F1045 #5F5210 #105F2A #101E5F
split-complementary
#5F1045 #1E5F10 #105F52
monochromatic
#1A0413 #2B071F #5F1045 #93196B #C82291

Accessibility & contrast

On white

12.75
#5F1045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5F1045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1045
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1045#FFFFFF#000000##FFFFFF
##5F10451.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2A46
Deuteranopia (green-blind)
#333743
Tritanopia (blue-blind)
#660F29
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1045;
/* rgb */ color: rgb(95, 16, 69);
/* oklch */ color: oklch(33.5% 0.124 344.9);
Tailwind
colors: {
  custom: {
    50: '#905878',
    500: '#5f1045',
    950: '#000000',
  },
}
SCSS
$custom: #5f1045;
$custom-light: #905878;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1045",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 319.747,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33509,
    "c": 0.12421,
    "h": 344.9
  },
  "luminance": 0.03233
}

Semantic roles & 50–950 ramp

primary
#5F1045
secondary
#339854
accent
#EE753A
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1045

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

Preview Lab → · Contrast checker → · Palette generator →

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