#5E1243#5E1243

#5E1243 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.4% C 0.120 H 346.1°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#5E1243
RGBrgb(94, 18, 67)
HSLhsl(321, 68%, 22%)
HSVhsv(321, 81%, 37%)
CMYKcmyk(0%, 80.9%, 28.7%, 63.1%)
CIE-LABlab(20.90, 38.33, -10.86)
CIE-LCHlch(20.90, 39.83, 344.18°)
OKLaboklab(33.4% 0.1164 -0.0288)
OKLCHoklch(33.4% 0.12 346.1)
XYZxyz(5.8458, 3.2182, 5.6224)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1243 #125E2D
analogous
#53125E #5E1243 #5E121D
triadic
#5E1243 #435E12 #12435E
tetradic
#5E1243 #5E5312 #125E2D #121D5E
square
#5E1243 #5E5312 #125E2D #121D5E
split-complementary
#5E1243 #1D5E12 #125E53
monochromatic
#1A0512 #2B081E #5E1243 #911C68 #C5268C

Accessibility & contrast

On white

12.78
#5E1243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5E1243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1243
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1243#FFFFFF#000000##FFFFFF
##5E12431.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2A44
Deuteranopia (green-blind)
#333741
Tritanopia (blue-blind)
#651029
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1243;
/* rgb */ color: rgb(94, 18, 67);
/* oklch */ color: oklch(33.4% 0.120 346.1);
Tailwind
colors: {
  custom: {
    50: '#8f5977',
    500: '#5e1243',
    950: '#000000',
  },
}
SCSS
$custom: #5e1243;
$custom-light: #8f5977;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1243",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 67
  },
  "hsl": {
    "h": 321.316,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33398,
    "c": 0.11992,
    "h": 346.1
  },
  "luminance": 0.03218
}

Semantic roles & 50–950 ramp

primary
#5E1243
secondary
#359658
accent
#EB7B3D
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1243

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

Preview Lab → · Contrast checker → · Palette generator →

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