#4E1732#4E1732

#4E1732 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.3% C 0.088 H 353.3°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#4E1732
RGBrgb(78, 23, 50)
HSLhsl(331, 54%, 20%)
HSVhsv(331, 71%, 31%)
CMYKcmyk(0%, 70.5%, 35.9%, 69.4%)
CIE-LABlab(17.75, 28.79, -4.04)
CIE-LCHlch(17.75, 29.07, 352.01°)
OKLaboklab(30.26% 0.0878 -0.0103)
OKLCHoklch(30.26% 0.088 353.3)
XYZxyz(4.0242, 2.4632, 3.2805)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1732 #174E33
analogous
#4E174E #4E1732 #4E1717
triadic
#4E1732 #324E17 #17324E
tetradic
#4E1732 #4E4E17 #174E33 #17174E
square
#4E1732 #4E4E17 #174E33 #17174E
split-complementary
#4E1732 #174E17 #174E4E
monochromatic
#18070F #1F0914 #4E1732 #7D2550 #AD336F

Accessibility & contrast

On white

14.07
#4E1732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4E1732 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1732
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1732#FFFFFF#000000##FFFFFF
##4E17321.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202533
Deuteranopia (green-blind)
#2F2F31
Tritanopia (blue-blind)
#541322
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e1732;
/* rgb */ color: rgb(78, 23, 50);
/* oklch */ color: oklch(30.3% 0.088 353.3);
Tailwind
colors: {
  custom: {
    50: '#825869',
    500: '#4e1732',
    950: '#000000',
  },
}
SCSS
$custom: #4e1732;
$custom-light: #825869;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1732",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 50
  },
  "hsl": {
    "h": 330.545,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30257,
    "c": 0.08841,
    "h": 353.3
  },
  "luminance": 0.02463
}

Semantic roles & 50–950 ramp

primary
#4E1732
secondary
#3C8561
accent
#DE954A
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4E1732

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

Preview Lab → · Contrast checker → · Palette generator →

#4E1732 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva