#4E1228#4E1228

#4E1228 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.2% C 0.091 H 2.3°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#4E1228
RGBrgb(78, 18, 40)
HSLhsl(338, 63%, 19%)
HSVhsv(338, 77%, 31%)
CMYKcmyk(0%, 76.9%, 48.7%, 69.4%)
CIE-LABlab(16.53, 29.86, 1.32)
CIE-LCHlch(16.53, 29.89, 2.54°)
OKLaboklab(29.24% 0.0914 0.0038)
OKLCHoklch(29.24% 0.091 2.3)
XYZxyz(3.7415, 2.2060, 2.2358)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1228 #124E38
analogous
#4E1246 #4E1228 #4E1A12
triadic
#4E1228 #284E12 #12284E
tetradic
#4E1228 #464E12 #124E38 #1A124E
square
#4E1228 #464E12 #124E38 #1A124E
split-complementary
#4E1228 #124E1A #12464E
monochromatic
#19060D #1C070F #4E1228 #801D42 #B1295B

Accessibility & contrast

On white

14.57
#4E1228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4E1228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1228
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1228#FFFFFF#000000##FFFFFF
##4E12281.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2129
Deuteranopia (green-blind)
#2F2D27
Tritanopia (blue-blind)
#55091B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4e1228;
/* rgb */ color: rgb(78, 18, 40);
/* oklch */ color: oklch(29.2% 0.091 2.3);
Tailwind
colors: {
  custom: {
    50: '#835561',
    500: '#4e1228',
    950: '#000000',
  },
}
SCSS
$custom: #4e1228;
$custom-light: #835561;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1228",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 338,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29237,
    "c": 0.09148,
    "h": 2.3
  },
  "luminance": 0.02206
}

Semantic roles & 50–950 ramp

primary
#4E1228
secondary
#358769
accent
#E6AA42
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4E1228

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

Preview Lab → · Contrast checker → · Palette generator →

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