#5E0F42#5E0F42

#5E0F42 is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.1% C 0.123 H 346.5°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#5E0F42
RGBrgb(94, 15, 66)
HSLhsl(321, 72%, 21%)
HSVhsv(321, 84%, 37%)
CMYKcmyk(0%, 84%, 29.8%, 63.1%)
CIE-LABlab(20.50, 39.19, -10.78)
CIE-LCHlch(20.50, 40.64, 344.62°)
OKLaboklab(33.09% 0.1193 -0.0285)
OKLCHoklch(33.09% 0.123 346.5)
XYZxyz(5.7706, 3.1153, 5.4506)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0F42 #0F5E2B
analogous
#530F5E #5E0F42 #5E0F1B
triadic
#5E0F42 #425E0F #0F425E
tetradic
#5E0F42 #5E530F #0F5E2B #0F1B5E
square
#5E0F42 #5E530F #0F5E2B #0F1B5E
split-complementary
#5E0F42 #1B5E0F #0F5E53
monochromatic
#1A0413 #29071D #5E0F42 #931767 #C8208C

Accessibility & contrast

On white

12.94
#5E0F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5E0F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E0F42
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0F42#FFFFFF#000000##FFFFFF
##5E0F421.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2943
Deuteranopia (green-blind)
#333640
Tritanopia (blue-blind)
#650C27
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e0f42;
/* rgb */ color: rgb(94, 15, 66);
/* oklch */ color: oklch(33.1% 0.123 346.5);
Tailwind
colors: {
  custom: {
    50: '#8f5876',
    500: '#5e0f42',
    950: '#000000',
  },
}
SCSS
$custom: #5e0f42;
$custom-light: #8f5876;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0f42",
  "rgb": {
    "r": 94,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 321.266,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33094,
    "c": 0.12266,
    "h": 346.5
  },
  "luminance": 0.03115
}

Semantic roles & 50–950 ramp

primary
#5E0F42
secondary
#319756
accent
#EF7939
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E0F42

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

Preview Lab → · Contrast checker → · Palette generator →

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