#4E1232#4E1232

#4E1232 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.6% C 0.096 H 351.8°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#4E1232
RGBrgb(78, 18, 50)
HSLhsl(328, 63%, 19%)
HSVhsv(328, 77%, 31%)
CMYKcmyk(0%, 76.9%, 35.9%, 69.4%)
CIE-LABlab(16.91, 31.12, -5.31)
CIE-LCHlch(16.91, 31.56, 350.32°)
OKLaboklab(29.64% 0.0951 -0.0137)
OKLCHoklch(29.64% 0.096 351.8)
XYZxyz(3.9341, 2.2830, 3.2505)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1232 #124E2E
analogous
#4C124E #4E1232 #4E1214
triadic
#4E1232 #324E12 #12324E
tetradic
#4E1232 #4E4C12 #124E2E #12144E
square
#4E1232 #4E4C12 #124E2E #12144E
split-complementary
#4E1232 #144E12 #124E4C
monochromatic
#190610 #1C0712 #4E1232 #801D52 #B12972

Accessibility & contrast

On white

14.42
#4E1232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4E1232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1232
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1232#FFFFFF#000000##FFFFFF
##4E12321.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2333
Deuteranopia (green-blind)
#2D2E31
Tritanopia (blue-blind)
#540E20
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e1232;
/* rgb */ color: rgb(78, 18, 50);
/* oklch */ color: oklch(29.6% 0.096 351.8);
Tailwind
colors: {
  custom: {
    50: '#835669',
    500: '#4e1232',
    950: '#000000',
  },
}
SCSS
$custom: #4e1232;
$custom-light: #835669;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1232",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 50
  },
  "hsl": {
    "h": 328,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29635,
    "c": 0.09606,
    "h": 351.8
  },
  "luminance": 0.02283
}

Semantic roles & 50–950 ramp

primary
#4E1232
secondary
#35875B
accent
#E68E42
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4E1232

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

Preview Lab → · Contrast checker → · Palette generator →

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