#5F293E#5F293E

#5F293E is a dark, moderate pink. Relative luminance 0.044; OKLCH L 36.3% C 0.083 H 357.5°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#5F293E
RGBrgb(95, 41, 62)
HSLhsl(337, 40%, 27%)
HSVhsv(337, 57%, 37%)
CMYKcmyk(0%, 56.8%, 34.7%, 62.7%)
CIE-LABlab(24.85, 27.15, -1.49)
CIE-LCHlch(24.85, 27.19, 356.86°)
OKLaboklab(36.29% 0.0825 -0.0036)
OKLCHoklch(36.29% 0.083 357.5)
XYZxyz(6.3820, 4.3672, 5.0633)
Luminance0.0437 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F293E #295F4A
analogous
#5F2959 #5F293E #5F2F29
triadic
#5F293E #3E5F29 #293E5F
tetradic
#5F293E #595F29 #295F4A #2F295F
square
#5F293E #595F29 #295F4A #2F295F
split-complementary
#5F293E #295F2F #29595F
monochromatic
#15090E #341722 #5F293E #8A3B5A #B34F76

Accessibility & contrast

On white

11.21
#5F293E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F293E
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F293E#FFFFFF#000000##FFFFFF
##5F293E1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31353F
Deuteranopia (green-blind)
#3F3F3D
Tritanopia (blue-blind)
#662531
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5f293e;
/* rgb */ color: rgb(95, 41, 62);
/* oklch */ color: oklch(36.3% 0.083 357.5);
Tailwind
colors: {
  custom: {
    50: '#8f6573',
    500: '#5f293e',
    950: '#000000',
  },
}
SCSS
$custom: #5f293e;
$custom-light: #8f6573;
$custom-dark: #000000;
JSON
{
  "hex": "#5f293e",
  "rgb": {
    "r": 95,
    "g": 41,
    "b": 62
  },
  "hsl": {
    "h": 336.667,
    "s": 39.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36289,
    "c": 0.08257,
    "h": 357.5
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

primary
#5F293E
secondary
#529279
accent
#D0A158
background
#F8F6F6
surface
#F0EBEC
border
#CBC6C7
text
#0D0608
muted
#7D7A7B

Preview Lab

Preview with #5F293E

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

Preview Lab → · Contrast checker → · Palette generator →

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