#5E182F#5E182F

#5E182F is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.103 H 4.7°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#5E182F
RGBrgb(94, 24, 47)
HSLhsl(340, 59%, 23%)
HSVhsv(340, 74%, 37%)
CMYKcmyk(0%, 74.5%, 50%, 63.1%)
CIE-LABlab(20.98, 33.50, 3.17)
CIE-LCHlch(20.98, 33.65, 5.40°)
OKLaboklab(33.21% 0.1023 0.0085)
OKLCHoklch(33.21% 0.103 4.7)
XYZxyz(5.4562, 3.2389, 3.0266)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E182F #185E47
analogous
#5E1852 #5E182F #5E2418
triadic
#5E182F #2F5E18 #182F5E
tetradic
#5E182F #525E18 #185E47 #24185E
square
#5E182F #525E18 #185E47 #24185E
split-complementary
#5E182F #185E24 #18525E
monochromatic
#18060C #2D0C17 #5E182F #8F2447 #C03160

Accessibility & contrast

On white

12.75
#5E182F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5E182F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E182F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E182F#FFFFFF#000000##FFFFFF
##5E182F1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282A30
Deuteranopia (green-blind)
#3A372D
Tritanopia (blue-blind)
#670D21
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e182f;
/* rgb */ color: rgb(94, 24, 47);
/* oklch */ color: oklch(33.2% 0.103 4.7);
Tailwind
colors: {
  custom: {
    50: '#905b67',
    500: '#5e182f',
    950: '#000000',
  },
}
SCSS
$custom: #5e182f;
$custom-light: #905b67;
$custom-dark: #000000;
JSON
{
  "hex": "#5e182f",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 47
  },
  "hsl": {
    "h": 340.286,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33206,
    "c": 0.10269,
    "h": 4.7
  },
  "luminance": 0.03238
}

Semantic roles & 50–950 ramp

primary
#5E182F
secondary
#3D9478
accent
#E3AF45
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5E182F

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

Preview Lab → · Contrast checker → · Palette generator →

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