#5F293F#5F293F

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

Color values

HEX#5F293F
RGBrgb(95, 41, 63)
HSLhsl(336, 40%, 27%)
HSVhsv(336, 57%, 37%)
CMYKcmyk(0%, 56.8%, 33.7%, 62.7%)
CIE-LABlab(24.88, 27.29, -2.11)
CIE-LCHlch(24.88, 27.37, 355.57°)
OKLaboklab(36.33% 0.0829 -0.0052)
OKLCHoklch(36.33% 0.083 356.4)
XYZxyz(6.4097, 4.3783, 5.2092)
Luminance0.0438 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F293F #295F49
analogous
#5F295A #5F293F #5F2E29
triadic
#5F293F #3F5F29 #293F5F
tetradic
#5F293F #5A5F29 #295F49 #2E295F
square
#5F293F #5A5F29 #295F49 #2E295F
split-complementary
#5F293F #295F2E #295A5F
monochromatic
#15090E #341723 #5F293F #8A3B5B #B34F78

Accessibility & contrast

On white

11.20
#5F293F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#5F293F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F293F
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F293F#FFFFFF#000000##FFFFFF
##5F293F1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313540
Deuteranopia (green-blind)
#3F3F3E
Tritanopia (blue-blind)
#662631
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5f293f;
/* rgb */ color: rgb(95, 41, 63);
/* oklch */ color: oklch(36.3% 0.083 356.4);
Tailwind
colors: {
  custom: {
    50: '#8f6574',
    500: '#5f293f',
    950: '#000000',
  },
}
SCSS
$custom: #5f293f;
$custom-light: #8f6574;
$custom-dark: #000000;
JSON
{
  "hex": "#5f293f",
  "rgb": {
    "r": 95,
    "g": 41,
    "b": 63
  },
  "hsl": {
    "h": 335.556,
    "s": 39.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36326,
    "c": 0.08303,
    "h": 356.4
  },
  "luminance": 0.04378
}

Semantic roles & 50–950 ramp

primary
#5F293F
secondary
#529278
accent
#D09F58
background
#F8F6F7
surface
#F0EBED
border
#CBC6C8
text
#0D0608
muted
#7D7A7B

Preview Lab

Preview with #5F293F

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

Preview Lab → · Contrast checker → · Palette generator →

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