#4E1538#4E1538

#4E1538 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.095 H 346.5°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#4E1538
RGBrgb(78, 21, 56)
HSLhsl(323, 58%, 19%)
HSVhsv(323, 73%, 31%)
CMYKcmyk(0%, 73.1%, 28.2%, 69.4%)
CIE-LABlab(17.65, 30.64, -8.43)
CIE-LCHlch(17.65, 31.77, 344.61°)
OKLaboklab(30.27% 0.0927 -0.0223)
OKLCHoklch(30.27% 0.095 346.5)
XYZxyz(4.1240, 2.4420, 3.9948)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1538 #154E2B
analogous
#48154E #4E1538 #4E151C
triadic
#4E1538 #384E15 #15384E
tetradic
#4E1538 #4E4815 #154E2B #151C4E
square
#4E1538 #4E4815 #154E2B #151C4E
split-complementary
#4E1538 #1C4E15 #154E48
monochromatic
#180611 #1E0815 #4E1538 #7E225B #AE2F7D

Accessibility & contrast

On white

14.11
#4E1538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1538
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1538#FFFFFF#000000##FFFFFF
##4E15381.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2539
Deuteranopia (green-blind)
#2C2F37
Tritanopia (blue-blind)
#541424
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e1538;
/* rgb */ color: rgb(78, 21, 56);
/* oklch */ color: oklch(30.3% 0.095 346.5);
Tailwind
colors: {
  custom: {
    50: '#82576e',
    500: '#4e1538',
    950: '#000000',
  },
}
SCSS
$custom: #4e1538;
$custom-light: #82576e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1538",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 56
  },
  "hsl": {
    "h": 323.158,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30268,
    "c": 0.09532,
    "h": 346.5
  },
  "luminance": 0.02442
}

Semantic roles & 50–950 ramp

primary
#4E1538
secondary
#398657
accent
#E18247
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4E1538

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

Preview Lab → · Contrast checker → · Palette generator →

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