#5F2149#5F2149

#5F2149 is a dark, moderate pink. Relative luminance 0.040; OKLCH L 35.6% C 0.103 H 344.0°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#5F2149
RGBrgb(95, 33, 73)
HSLhsl(321, 48%, 25%)
HSVhsv(321, 65%, 37%)
CMYKcmyk(0%, 65.3%, 23.2%, 62.7%)
CIE-LABlab(23.68, 33.08, -10.68)
CIE-LCHlch(23.68, 34.76, 342.11°)
OKLaboklab(35.56% 0.0992 -0.0284)
OKLCHoklch(35.56% 0.103 344)
XYZxyz(6.4660, 4.0022, 6.7340)
Luminance0.0400 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2149 #215F37
analogous
#56215F #5F2149 #5F212A
triadic
#5F2149 #495F21 #21495F
tetradic
#5F2149 #5F5621 #215F37 #212A5F
square
#5F2149 #5F5621 #215F37 #212A5F
split-complementary
#5F2149 #2A5F21 #215F56
monochromatic
#170811 #321126 #5F2149 #8C316C #BA418F

Accessibility & contrast

On white

11.66
#5F2149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5F2149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2149
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2149#FFFFFF#000000##FFFFFF
##5F21491.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26324A
Deuteranopia (green-blind)
#383C47
Tritanopia (blue-blind)
#652132
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f2149;
/* rgb */ color: rgb(95, 33, 73);
/* oklch */ color: oklch(35.6% 0.103 344.0);
Tailwind
colors: {
  custom: {
    50: '#8f607b',
    500: '#5f2149',
    950: '#000000',
  },
}
SCSS
$custom: #5f2149;
$custom-light: #8f607b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2149",
  "rgb": {
    "r": 95,
    "g": 33,
    "b": 73
  },
  "hsl": {
    "h": 321.29,
    "s": 48.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35559,
    "c": 0.10317,
    "h": 344
  },
  "luminance": 0.04002
}

Semantic roles & 50–950 ramp

primary
#5F2149
secondary
#499363
accent
#D88050
background
#F9F5F7
surface
#F1EAEE
border
#CBC6C9
text
#0D0509
muted
#7E797B

Preview Lab

Preview with #5F2149

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

Preview Lab → · Contrast checker → · Palette generator →

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