#5E2F4E#5E2F4E

#5E2F4E is a dark, moderate pink. Relative luminance 0.050; OKLCH L 37.8% C 0.081 H 341.6°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#5E2F4E
RGBrgb(94, 47, 78)
HSLhsl(320, 33%, 28%)
HSVhsv(320, 50%, 37%)
CMYKcmyk(0%, 50%, 17%, 63.1%)
CIE-LABlab(26.63, 25.91, -9.55)
CIE-LCHlch(26.63, 27.61, 339.78°)
OKLaboklab(37.79% 0.0764 -0.0254)
OKLCHoklch(37.79% 0.081 341.6)
XYZxyz(7.0078, 4.9633, 7.7952)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2F4E #2F5E3F
analogous
#572F5E #5E2F4E #5E2F36
triadic
#5E2F4E #4E5E2F #2F4E5E
tetradic
#5E2F4E #5E572F #2F5E3F #2F365E
square
#5E2F4E #5E572F #2F5E3F #2F365E
split-complementary
#5E2F4E #365E2F #2F5E57
monochromatic
#140A11 #351B2C #5E2F4E #874370 #AD5B91

Accessibility & contrast

On white

10.54
#5E2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E2F4E
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2F4E#FFFFFF#000000##FFFFFF
##5E2F4E1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323A4F
Deuteranopia (green-blind)
#3E424D
Tritanopia (blue-blind)
#632F3B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5e2f4e;
/* rgb */ color: rgb(94, 47, 78);
/* oklch */ color: oklch(37.8% 0.081 341.6);
Tailwind
colors: {
  custom: {
    50: '#8d697f',
    500: '#5e2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #5e2f4e;
$custom-light: #8d697f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2f4e",
  "rgb": {
    "r": 94,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 320.426,
    "s": 33.333,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37789,
    "c": 0.08056,
    "h": 341.6
  },
  "luminance": 0.04963
}

Semantic roles & 50–950 ramp

primary
#5E2F4E
secondary
#59906C
accent
#C9835E
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C060A
muted
#7D7A7C

Preview Lab

Preview with #5E2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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