#5E0F4F#5E0F4F

#5E0F4F is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.8% C 0.132 H 337.3°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#5E0F4F
RGBrgb(94, 15, 79)
HSLhsl(311, 72%, 21%)
HSVhsv(311, 84%, 37%)
CMYKcmyk(0%, 84%, 16%, 63.1%)
CIE-LABlab(21.16, 41.10, -18.66)
CIE-LCHlch(21.16, 45.14, 335.58°)
OKLaboklab(33.78% 0.1214 -0.0508)
OKLCHoklch(33.78% 0.132 337.3)
XYZxyz(6.1983, 3.2864, 7.7035)
Luminance0.0329 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0F4F #0F5E1E
analogous
#460F5E #5E0F4F #5E0F28
triadic
#5E0F4F #4F5E0F #0F4F5E
tetradic
#5E0F4F #5E460F #0F5E1E #0F285E
square
#5E0F4F #5E460F #0F5E1E #0F285E
split-complementary
#5E0F4F #285E0F #0F5E46
monochromatic
#1A0416 #290723 #5E0F4F #93177B #C820A8

Accessibility & contrast

On white

12.67
#5E0F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5E0F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E0F4F
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0F4F#FFFFFF#000000##FFFFFF
##5E0F4F1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122B51
Deuteranopia (green-blind)
#2E374D
Tritanopia (blue-blind)
#64142E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e0f4f;
/* rgb */ color: rgb(94, 15, 79);
/* oklch */ color: oklch(33.8% 0.132 337.3);
Tailwind
colors: {
  custom: {
    50: '#8f5880',
    500: '#5e0f4f',
    950: '#000000',
  },
}
SCSS
$custom: #5e0f4f;
$custom-light: #8f5880;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0f4f",
  "rgb": {
    "r": 94,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 311.392,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33782,
    "c": 0.13159,
    "h": 337.3
  },
  "luminance": 0.03286
}

Semantic roles & 50–950 ramp

primary
#5E0F4F
secondary
#319745
accent
#EF5B39
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E0F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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