#5E1935#5E1935

#5E1935 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.5% C 0.103 H 359.5°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#5E1935
RGBrgb(94, 25, 53)
HSLhsl(336, 58%, 23%)
HSVhsv(336, 73%, 37%)
CMYKcmyk(0%, 73.4%, 43.6%, 63.1%)
CIE-LABlab(21.33, 33.73, -0.51)
CIE-LCHlch(21.33, 33.74, 359.14°)
OKLaboklab(33.53% 0.1033 -0.0009)
OKLCHoklch(33.53% 0.103 359.5)
XYZxyz(5.6067, 3.3327, 3.7155)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1935 #195E42
analogous
#5E1957 #5E1935 #5E1F19
triadic
#5E1935 #355E19 #19355E
tetradic
#5E1935 #575E19 #195E42 #1F195E
square
#5E1935 #575E19 #195E42 #1F195E
split-complementary
#5E1935 #195E1F #19575E
monochromatic
#18060E #2E0C1A #5E1935 #8E2650 #BF336C

Accessibility & contrast

On white

12.60
#5E1935 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5E1935 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1935
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1935#FFFFFF#000000##FFFFFF
##5E19351.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272B36
Deuteranopia (green-blind)
#393833
Tritanopia (blue-blind)
#661125
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1935;
/* rgb */ color: rgb(94, 25, 53);
/* oklch */ color: oklch(33.5% 0.103 359.5);
Tailwind
colors: {
  custom: {
    50: '#8f5b6c',
    500: '#5e1935',
    950: '#000000',
  },
}
SCSS
$custom: #5e1935;
$custom-light: #8f5b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1935",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 53
  },
  "hsl": {
    "h": 335.652,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33532,
    "c": 0.10333,
    "h": 359.5
  },
  "luminance": 0.03332
}

Semantic roles & 50–950 ramp

primary
#5E1935
secondary
#3F9471
accent
#E1A247
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5E1935

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

Preview Lab → · Contrast checker → · Palette generator →

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