#4E1528#4E1528

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

Color values

HEX#4E1528
RGBrgb(78, 21, 40)
HSLhsl(340, 58%, 19%)
HSVhsv(340, 73%, 31%)
CMYKcmyk(0%, 73.1%, 48.7%, 69.4%)
CIE-LABlab(17.04, 28.48, 2.05)
CIE-LCHlch(17.04, 28.55, 4.12°)
OKLaboklab(29.61% 0.087 0.0056)
OKLCHoklch(29.61% 0.087 3.7)
XYZxyz(3.7933, 2.3097, 2.2531)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1528 #154E3B
analogous
#4E1545 #4E1528 #4E1F15
triadic
#4E1528 #284E15 #15284E
tetradic
#4E1528 #454E15 #154E3B #1F154E
square
#4E1528 #454E15 #154E3B #1F154E
split-complementary
#4E1528 #154E1F #15454E
monochromatic
#18060C #1E080F #4E1528 #7E2241 #AE2F59

Accessibility & contrast

On white

14.37
#4E1528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1528
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1528#FFFFFF#000000##FFFFFF
##4E15281.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212328
Deuteranopia (green-blind)
#302E27
Tritanopia (blue-blind)
#550D1D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e1528;
/* rgb */ color: rgb(78, 21, 40);
/* oklch */ color: oklch(29.6% 0.087 3.7);
Tailwind
colors: {
  custom: {
    50: '#835761',
    500: '#4e1528',
    950: '#000000',
  },
}
SCSS
$custom: #4e1528;
$custom-light: #835761;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1528",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 40
  },
  "hsl": {
    "h": 340,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29608,
    "c": 0.08718,
    "h": 3.7
  },
  "luminance": 0.02309
}

Semantic roles & 50–950 ramp

primary
#4E1528
secondary
#39866C
accent
#E1AE47
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4E1528

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

Preview Lab → · Contrast checker → · Palette generator →

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