#5F2D4E#5F2D4E

#5F2D4E is a dark, moderate pink. Relative luminance 0.049; OKLCH L 37.6% C 0.085 H 341.9°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#5F2D4E
RGBrgb(95, 45, 78)
HSLhsl(320, 36%, 27%)
HSVhsv(320, 53%, 37%)
CMYKcmyk(0%, 52.6%, 17.9%, 62.7%)
CIE-LABlab(26.33, 27.44, -9.98)
CIE-LCHlch(26.33, 29.20, 340.01°)
OKLaboklab(37.6% 0.0812 -0.0266)
OKLCHoklch(37.6% 0.085 341.9)
XYZxyz(7.0330, 4.8602, 7.7740)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2D4E #2D5F3E
analogous
#572D5F #5F2D4E #5F2D35
triadic
#5F2D4E #4E5F2D #2D4E5F
tetradic
#5F2D4E #5F572D #2D5F3E #2D355F
square
#5F2D4E #5F572D #2D5F3E #2D355F
split-complementary
#5F2D4E #355F2D #2D5F57
monochromatic
#150A11 #35192C #5F2D4E #894170 #AF5791

Accessibility & contrast

On white

10.65
#5F2D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#5F2D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2D4E
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2D4E#FFFFFF#000000##FFFFFF
##5F2D4E1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30394F
Deuteranopia (green-blind)
#3D414D
Tritanopia (blue-blind)
#642D3A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5f2d4e;
/* rgb */ color: rgb(95, 45, 78);
/* oklch */ color: oklch(37.6% 0.085 341.9);
Tailwind
colors: {
  custom: {
    50: '#8e687f',
    500: '#5f2d4e',
    950: '#000000',
  },
}
SCSS
$custom: #5f2d4e;
$custom-light: #8e687f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2d4e",
  "rgb": {
    "r": 95,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 320.4,
    "s": 35.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37599,
    "c": 0.0854,
    "h": 341.9
  },
  "luminance": 0.0486
}

Semantic roles & 50–950 ramp

primary
#5F2D4E
secondary
#57916B
accent
#CC825C
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C060A
muted
#7D7A7C

Preview Lab

Preview with #5F2D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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