#5E1229#5E1229

#5E1229 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.109 H 8.0°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#5E1229
RGBrgb(94, 18, 41)
HSLhsl(342, 68%, 22%)
HSVhsv(342, 81%, 37%)
CMYKcmyk(0%, 80.9%, 56.4%, 63.1%)
CIE-LABlab(19.94, 35.32, 5.92)
CIE-LCHlch(19.94, 35.81, 9.51°)
OKLaboklab(32.38% 0.1075 0.0152)
OKLCHoklch(32.38% 0.109 8)
XYZxyz(5.2331, 2.9731, 2.3957)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1229 #125E47
analogous
#5E124F #5E1229 #5E2112
triadic
#5E1229 #295E12 #12295E
tetradic
#5E1229 #4F5E12 #125E47 #21125E
square
#5E1229 #4F5E12 #125E47 #21125E
split-complementary
#5E1229 #125E21 #124F5E
monochromatic
#1A050B #2B0813 #5E1229 #911C3F #C52656

Accessibility & contrast

On white

13.17
#5E1229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5E1229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1229
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1229#FFFFFF#000000##FFFFFF
##5E12291.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252629
Deuteranopia (green-blind)
#393627
Tritanopia (blue-blind)
#67001C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e1229;
/* rgb */ color: rgb(94, 18, 41);
/* oklch */ color: oklch(32.4% 0.109 8.0);
Tailwind
colors: {
  custom: {
    50: '#905862',
    500: '#5e1229',
    950: '#000000',
  },
}
SCSS
$custom: #5e1229;
$custom-light: #905862;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1229",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 41
  },
  "hsl": {
    "h": 341.842,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32379,
    "c": 0.1086,
    "h": 8
  },
  "luminance": 0.02972
}

Semantic roles & 50–950 ramp

primary
#5E1229
secondary
#359679
accent
#EBB63D
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5E1229

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

Preview Lab → · Contrast checker → · Palette generator →

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