#5F1143#5F1143

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

Color values

HEX#5F1143
RGBrgb(95, 17, 67)
HSLhsl(322, 70%, 22%)
HSVhsv(322, 82%, 37%)
CMYKcmyk(0%, 82.1%, 29.5%, 62.7%)
CIE-LABlab(20.98, 38.95, -10.72)
CIE-LCHlch(20.98, 40.40, 344.62°)
OKLaboklab(33.5% 0.1185 -0.0284)
OKLCHoklch(33.5% 0.122 346.5)
XYZxyz(5.9332, 3.2397, 5.6220)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1143 #115F2D
analogous
#54115F #5F1143 #5F111C
triadic
#5F1143 #435F11 #11435F
tetradic
#5F1143 #5F5411 #115F2D #111C5F
square
#5F1143 #5F5411 #115F2D #111C5F
split-complementary
#5F1143 #1C5F11 #115F54
monochromatic
#1A0512 #2B081E #5F1143 #931A68 #C7248C

Accessibility & contrast

On white

12.74
#5F1143 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1143
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1143#FFFFFF#000000##FFFFFF
##5F11431.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2A44
Deuteranopia (green-blind)
#343741
Tritanopia (blue-blind)
#660E28
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1143;
/* rgb */ color: rgb(95, 17, 67);
/* oklch */ color: oklch(33.5% 0.122 346.5);
Tailwind
colors: {
  custom: {
    50: '#905977',
    500: '#5f1143',
    950: '#000000',
  },
}
SCSS
$custom: #5f1143;
$custom-light: #905977;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1143",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 67
  },
  "hsl": {
    "h": 321.538,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33495,
    "c": 0.12183,
    "h": 346.5
  },
  "luminance": 0.03239
}

Semantic roles & 50–950 ramp

primary
#5F1143
secondary
#349858
accent
#EC7B3B
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1143

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

Preview Lab → · Contrast checker → · Palette generator →

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