#4E1236#4E1236

#4E1236 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.098 H 347.8°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#4E1236
RGBrgb(78, 18, 54)
HSLhsl(324, 63%, 19%)
HSVhsv(324, 77%, 31%)
CMYKcmyk(0%, 76.9%, 30.8%, 69.4%)
CIE-LABlab(17.08, 31.68, -7.89)
CIE-LCHlch(17.08, 32.65, 346.01°)
OKLaboklab(29.82% 0.0963 -0.0208)
OKLCHoklch(29.82% 0.098 347.8)
XYZxyz(4.0242, 2.3191, 3.7250)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1236 #124E2A
analogous
#48124E #4E1236 #4E1218
triadic
#4E1236 #364E12 #12364E
tetradic
#4E1236 #4E4812 #124E2A #12184E
square
#4E1236 #4E4812 #124E2A #12184E
split-complementary
#4E1236 #184E12 #124E48
monochromatic
#190611 #1C0714 #4E1236 #801D58 #B1297B

Accessibility & contrast

On white

14.35
#4E1236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1236
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1236#FFFFFF#000000##FFFFFF
##4E12361.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2337
Deuteranopia (green-blind)
#2C2E35
Tritanopia (blue-blind)
#541022
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e1236;
/* rgb */ color: rgb(78, 18, 54);
/* oklch */ color: oklch(29.8% 0.098 347.8);
Tailwind
colors: {
  custom: {
    50: '#82566d',
    500: '#4e1236',
    950: '#000000',
  },
}
SCSS
$custom: #4e1236;
$custom-light: #82566d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1236",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 54
  },
  "hsl": {
    "h": 324,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29818,
    "c": 0.09849,
    "h": 347.8
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#4E1236
secondary
#358756
accent
#E68442
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4E1236

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

Preview Lab → · Contrast checker → · Palette generator →

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