#5F293D#5F293D

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

Color values

HEX#5F293D
RGBrgb(95, 41, 61)
HSLhsl(338, 40%, 27%)
HSVhsv(338, 57%, 37%)
CMYKcmyk(0%, 56.8%, 35.8%, 62.7%)
CIE-LABlab(24.82, 27.01, -0.86)
CIE-LCHlch(24.82, 27.02, 358.17°)
OKLaboklab(36.25% 0.0821 -0.0019)
OKLCHoklch(36.25% 0.082 358.7)
XYZxyz(6.3549, 4.3563, 4.9201)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F293D #295F4B
analogous
#5F2958 #5F293D #5F3029
triadic
#5F293D #3D5F29 #293D5F
tetradic
#5F293D #585F29 #295F4B #30295F
square
#5F293D #585F29 #295F4B #30295F
split-complementary
#5F293D #295F30 #29585F
monochromatic
#15090E #341722 #5F293D #8A3B58 #B34F74

Accessibility & contrast

On white

11.22
#5F293D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F293D
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F293D#FFFFFF#000000##FFFFFF
##5F293D1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31353E
Deuteranopia (green-blind)
#3F3F3C
Tritanopia (blue-blind)
#662530
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5f293d;
/* rgb */ color: rgb(95, 41, 61);
/* oklch */ color: oklch(36.3% 0.082 358.7);
Tailwind
colors: {
  custom: {
    50: '#8f6572',
    500: '#5f293d',
    950: '#000000',
  },
}
SCSS
$custom: #5f293d;
$custom-light: #8f6572;
$custom-dark: #000000;
JSON
{
  "hex": "#5f293d",
  "rgb": {
    "r": 95,
    "g": 41,
    "b": 61
  },
  "hsl": {
    "h": 337.778,
    "s": 39.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36252,
    "c": 0.08212,
    "h": 358.7
  },
  "luminance": 0.04356
}

Semantic roles & 50–950 ramp

primary
#5F293D
secondary
#52927A
accent
#D0A358
background
#F8F6F6
surface
#F0EBEC
border
#CBC6C7
text
#0D0608
muted
#7D7A7B

Preview Lab

Preview with #5F293D

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

Preview Lab → · Contrast checker → · Palette generator →

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