#5E254B#5E254B

#5E254B is a dark, moderate pink. Relative luminance 0.042; OKLCH L 36.1% C 0.097 H 342.3°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#5E254B
RGBrgb(94, 37, 75)
HSLhsl(320, 44%, 26%)
HSVhsv(320, 61%, 37%)
CMYKcmyk(0%, 60.6%, 20.2%, 63.1%)
CIE-LABlab(24.36, 31.01, -11.00)
CIE-LCHlch(24.36, 32.91, 340.46°)
OKLaboklab(36.06% 0.0923 -0.0294)
OKLCHoklch(36.06% 0.097 342.3)
XYZxyz(6.5478, 4.2114, 7.1233)
Luminance0.0421 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E254B #255E38
analogous
#54255E #5E254B #5E252E
triadic
#5E254B #4B5E25 #254B5E
tetradic
#5E254B #5E5425 #255E38 #252E5E
square
#5E254B #5E5425 #255E38 #252E5E
split-complementary
#5E254B #2E5E25 #255E54
monochromatic
#160912 #321428 #5E254B #8A366E #B64891

Accessibility & contrast

On white

11.40
#5E254B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#5E254B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E254B
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E254B#FFFFFF#000000##FFFFFF
##5E254B1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29344C
Deuteranopia (green-blind)
#393D4A
Tritanopia (blue-blind)
#642534
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e254b;
/* rgb */ color: rgb(94, 37, 75);
/* oklch */ color: oklch(36.1% 0.097 342.3);
Tailwind
colors: {
  custom: {
    50: '#8e637d',
    500: '#5e254b',
    950: '#000000',
  },
}
SCSS
$custom: #5e254b;
$custom-light: #8e637d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e254b",
  "rgb": {
    "r": 94,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 320,
    "s": 43.511,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36055,
    "c": 0.09686,
    "h": 342.3
  },
  "luminance": 0.04211
}

Semantic roles & 50–950 ramp

primary
#5E254B
secondary
#4D9164
accent
#D37F55
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C0509
muted
#7D7A7B

Preview Lab

Preview with #5E254B

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

Preview Lab → · Contrast checker → · Palette generator →

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