#5F293C#5F293C

#5F293C is a dark, moderate pink. Relative luminance 0.043; OKLCH L 36.2% C 0.082 H 359.8°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#5F293C
RGBrgb(95, 41, 60)
HSLhsl(339, 40%, 27%)
HSVhsv(339, 57%, 37%)
CMYKcmyk(0%, 56.8%, 36.8%, 62.7%)
CIE-LABlab(24.78, 26.86, -0.24)
CIE-LCHlch(24.78, 26.87, 359.49°)
OKLaboklab(36.22% 0.0817 -0.0003)
OKLCHoklch(36.22% 0.082 359.8)
XYZxyz(6.3282, 4.3456, 4.7796)
Luminance0.0435 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F293C #295F4C
analogous
#5F2957 #5F293C #5F3129
triadic
#5F293C #3C5F29 #293C5F
tetradic
#5F293C #575F29 #295F4C #31295F
square
#5F293C #575F29 #295F4C #31295F
split-complementary
#5F293C #295F31 #29575F
monochromatic
#15090D #341721 #5F293C #8A3B57 #B34F72

Accessibility & contrast

On white

11.24
#5F293C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#5F293C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F293C
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F293C#FFFFFF#000000##FFFFFF
##5F293C1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32353D
Deuteranopia (green-blind)
#403F3B
Tritanopia (blue-blind)
#662530
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5f293c;
/* rgb */ color: rgb(95, 41, 60);
/* oklch */ color: oklch(36.2% 0.082 359.8);
Tailwind
colors: {
  custom: {
    50: '#8f6571',
    500: '#5f293c',
    950: '#000000',
  },
}
SCSS
$custom: #5f293c;
$custom-light: #8f6571;
$custom-dark: #000000;
JSON
{
  "hex": "#5f293c",
  "rgb": {
    "r": 95,
    "g": 41,
    "b": 60
  },
  "hsl": {
    "h": 338.889,
    "s": 39.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36216,
    "c": 0.0817,
    "h": 359.8
  },
  "luminance": 0.04345
}

Semantic roles & 50–950 ramp

primary
#5F293C
secondary
#52927B
accent
#D0A658
background
#F9F6F6
surface
#F1EBEC
border
#CBC6C7
text
#0D0607
muted
#7E7A7A

Preview Lab

Preview with #5F293C

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

Preview Lab → · Contrast checker → · Palette generator →

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