#5F244D#5F244D

#5F244D is a dark, moderate pink. Relative luminance 0.042; OKLCH L 36.2% C 0.101 H 341.1°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#5F244D
RGBrgb(95, 36, 77)
HSLhsl(318, 45%, 26%)
HSVhsv(318, 62%, 37%)
CMYKcmyk(0%, 62.1%, 18.9%, 62.7%)
CIE-LABlab(24.42, 32.21, -12.24)
CIE-LCHlch(24.42, 34.46, 339.20°)
OKLaboklab(36.17% 0.0956 -0.0328)
OKLCHoklch(36.17% 0.101 341.1)
XYZxyz(6.6899, 4.2310, 7.4841)
Luminance0.0423 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F244D #245F36
analogous
#53245F #5F244D #5F242F
triadic
#5F244D #4D5F24 #244D5F
tetradic
#5F244D #5F5324 #245F36 #242F5F
square
#5F244D #5F5324 #245F36 #242F5F
split-complementary
#5F244D #2F5F24 #245F53
monochromatic
#160812 #331329 #5F244D #8B3571 #B84695

Accessibility & contrast

On white

11.38
#5F244D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#5F244D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F244D
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F244D#FFFFFF#000000##FFFFFF
##5F244D1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28344E
Deuteranopia (green-blind)
#393E4B
Tritanopia (blue-blind)
#652535
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5f244d;
/* rgb */ color: rgb(95, 36, 77);
/* oklch */ color: oklch(36.2% 0.101 341.1);
Tailwind
colors: {
  custom: {
    50: '#8e627f',
    500: '#5f244d',
    950: '#000000',
  },
}
SCSS
$custom: #5f244d;
$custom-light: #8e627f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f244d",
  "rgb": {
    "r": 95,
    "g": 36,
    "b": 77
  },
  "hsl": {
    "h": 318.305,
    "s": 45.038,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36165,
    "c": 0.10108,
    "h": 341.1
  },
  "luminance": 0.0423
}

Semantic roles & 50–950 ramp

primary
#5F244D
secondary
#4C9362
accent
#D57B53
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0D050A
muted
#7D7A7C

Preview Lab

Preview with #5F244D

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

Preview Lab → · Contrast checker → · Palette generator →

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