#5F1145#5F1145

#5F1145 is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.6% C 0.123 H 345.0°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#5F1145
RGBrgb(95, 17, 69)
HSLhsl(320, 70%, 22%)
HSVhsv(320, 82%, 37%)
CMYKcmyk(0%, 82.1%, 27.4%, 62.7%)
CIE-LABlab(21.07, 39.23, -11.95)
CIE-LCHlch(21.07, 41.01, 343.06°)
OKLaboklab(33.59% 0.1189 -0.0318)
OKLCHoklch(33.59% 0.123 345)
XYZxyz(5.9942, 3.2641, 5.9434)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1145 #115F2B
analogous
#52115F #5F1145 #5F111E
triadic
#5F1145 #455F11 #11455F
tetradic
#5F1145 #5F5211 #115F2B #111E5F
square
#5F1145 #5F5211 #115F2B #111E5F
split-complementary
#5F1145 #1E5F11 #115F52
monochromatic
#1A0513 #2B081F #5F1145 #931A6B #C72490

Accessibility & contrast

On white

12.71
#5F1145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1145
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1145#FFFFFF#000000##FFFFFF
##5F11451.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2A46
Deuteranopia (green-blind)
#333743
Tritanopia (blue-blind)
#661029
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1145;
/* rgb */ color: rgb(95, 17, 69);
/* oklch */ color: oklch(33.6% 0.123 345.0);
Tailwind
colors: {
  custom: {
    50: '#905978',
    500: '#5f1145',
    950: '#000000',
  },
}
SCSS
$custom: #5f1145;
$custom-light: #905978;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1145",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 320,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33593,
    "c": 0.12311,
    "h": 345
  },
  "luminance": 0.03263
}

Semantic roles & 50–950 ramp

primary
#5F1145
secondary
#349855
accent
#EC763B
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1145

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

Preview Lab → · Contrast checker → · Palette generator →

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