#5F2E4E#5F2E4E

#5F2E4E is a dark, moderate pink. Relative luminance 0.049; OKLCH L 37.8% C 0.083 H 342.1°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#5F2E4E
RGBrgb(95, 46, 78)
HSLhsl(321, 35%, 28%)
HSVhsv(321, 52%, 37%)
CMYKcmyk(0%, 51.6%, 17.9%, 62.7%)
CIE-LABlab(26.56, 26.86, -9.64)
CIE-LCHlch(26.56, 28.54, 340.25°)
OKLaboklab(37.77% 0.0794 -0.0257)
OKLCHoklch(37.77% 0.083 342.1)
XYZxyz(7.0716, 4.9375, 7.7868)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2E4E #2E5F3F
analogous
#572E5F #5F2E4E #5F2E36
triadic
#5F2E4E #4E5F2E #2E4E5F
tetradic
#5F2E4E #5F572E #2E5F3F #2E365F
square
#5F2E4E #5F572E #2E5F3F #2E365F
split-complementary
#5F2E4E #365F2E #2E5F57
monochromatic
#150A11 #361A2C #5F2E4E #884270 #AF5991

Accessibility & contrast

On white

10.57
#5F2E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#5F2E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2E4E
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2E4E#FFFFFF#000000##FFFFFF
##5F2E4E1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313A4F
Deuteranopia (green-blind)
#3E424D
Tritanopia (blue-blind)
#642E3A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5f2e4e;
/* rgb */ color: rgb(95, 46, 78);
/* oklch */ color: oklch(37.8% 0.083 342.1);
Tailwind
colors: {
  custom: {
    50: '#8e687f',
    500: '#5f2e4e',
    950: '#000000',
  },
}
SCSS
$custom: #5f2e4e;
$custom-light: #8e687f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2e4e",
  "rgb": {
    "r": 95,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 320.816,
    "s": 34.752,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37766,
    "c": 0.08349,
    "h": 342.1
  },
  "luminance": 0.04937
}

Semantic roles & 50–950 ramp

primary
#5F2E4E
secondary
#58916C
accent
#CB835D
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C060A
muted
#7D7A7C

Preview Lab

Preview with #5F2E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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