#5F1241#5F1241

#5F1241 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.5% C 0.119 H 348.2°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#5F1241
RGBrgb(95, 18, 65)
HSLhsl(323, 68%, 22%)
HSVhsv(323, 81%, 37%)
CMYKcmyk(0%, 81.1%, 31.6%, 62.7%)
CIE-LABlab(21.01, 38.34, -9.29)
CIE-LCHlch(21.01, 39.45, 346.38°)
OKLaboklab(33.49% 0.1169 -0.0244)
OKLCHoklch(33.49% 0.119 348.2)
XYZxyz(5.8901, 3.2478, 5.3167)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1241 #125F30
analogous
#57125F #5F1241 #5F121A
triadic
#5F1241 #415F12 #12415F
tetradic
#5F1241 #5F5712 #125F30 #121A5F
square
#5F1241 #5F5712 #125F30 #121A5F
split-complementary
#5F1241 #1A5F12 #125F57
monochromatic
#1A0512 #2C081E #5F1241 #921C64 #C62587

Accessibility & contrast

On white

12.73
#5F1241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1241
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1241#FFFFFF#000000##FFFFFF
##5F12411.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2A42
Deuteranopia (green-blind)
#35373F
Tritanopia (blue-blind)
#660E28
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1241;
/* rgb */ color: rgb(95, 18, 65);
/* oklch */ color: oklch(33.5% 0.119 348.2);
Tailwind
colors: {
  custom: {
    50: '#905975',
    500: '#5f1241',
    950: '#000000',
  },
}
SCSS
$custom: #5f1241;
$custom-light: #905975;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1241",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 323.377,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33488,
    "c": 0.11945,
    "h": 348.2
  },
  "luminance": 0.03247
}

Semantic roles & 50–950 ramp

primary
#5F1241
secondary
#36975C
accent
#EB813D
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1241

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

Preview Lab → · Contrast checker → · Palette generator →

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