#5E122C#5E122C

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

Color values

HEX#5E122C
RGBrgb(94, 18, 44)
HSLhsl(339, 68%, 22%)
HSVhsv(339, 81%, 37%)
CMYKcmyk(0%, 80.9%, 53.2%, 63.1%)
CIE-LABlab(20.02, 35.60, 3.92)
CIE-LCHlch(20.02, 35.81, 6.28°)
OKLaboklab(32.47% 0.1088 0.0103)
OKLCHoklch(32.47% 0.109 5.4)
XYZxyz(5.2875, 2.9949, 2.6820)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E122C #125E44
analogous
#5E1252 #5E122C #5E1E12
triadic
#5E122C #2C5E12 #122C5E
tetradic
#5E122C #525E12 #125E44 #1E125E
square
#5E122C #525E12 #125E44 #1E125E
split-complementary
#5E122C #125E1E #12525E
monochromatic
#1A050C #2B0814 #5E122C #911C44 #C5265C

Accessibility & contrast

On white

13.13
#5E122C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5E122C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E122C
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E122C#FFFFFF#000000##FFFFFF
##5E122C1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25272D
Deuteranopia (green-blind)
#39362A
Tritanopia (blue-blind)
#67021D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e122c;
/* rgb */ color: rgb(94, 18, 44);
/* oklch */ color: oklch(32.5% 0.109 5.4);
Tailwind
colors: {
  custom: {
    50: '#905864',
    500: '#5e122c',
    950: '#000000',
  },
}
SCSS
$custom: #5e122c;
$custom-light: #905864;
$custom-dark: #000000;
JSON
{
  "hex": "#5e122c",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 44
  },
  "hsl": {
    "h": 339.474,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32472,
    "c": 0.10929,
    "h": 5.4
  },
  "luminance": 0.02994
}

Semantic roles & 50–950 ramp

primary
#5E122C
secondary
#359675
accent
#EBAF3D
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5E122C

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

Preview Lab → · Contrast checker → · Palette generator →

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