#4E1227#4E1227

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

Color values

HEX#4E1227
RGBrgb(78, 18, 39)
HSLhsl(339, 63%, 19%)
HSVhsv(339, 77%, 31%)
CMYKcmyk(0%, 76.9%, 50%, 69.4%)
CIE-LABlab(16.50, 29.75, 2.00)
CIE-LCHlch(16.50, 29.81, 3.84°)
OKLaboklab(29.2% 0.091 0.0055)
OKLCHoklch(29.2% 0.091 3.4)
XYZxyz(3.7247, 2.1993, 2.1474)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1227 #124E39
analogous
#4E1245 #4E1227 #4E1B12
triadic
#4E1227 #274E12 #12274E
tetradic
#4E1227 #454E12 #124E39 #1B124E
square
#4E1227 #454E12 #124E39 #1B124E
split-complementary
#4E1227 #124E1B #12454E
monochromatic
#19060C #1C070E #4E1227 #801D40 #B12959

Accessibility & contrast

On white

14.59
#4E1227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1227
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1227#FFFFFF#000000##FFFFFF
##4E12271.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1227;
/* rgb */ color: rgb(78, 18, 39);
/* oklch */ color: oklch(29.2% 0.091 3.4);
Tailwind
colors: {
  custom: {
    50: '#835560',
    500: '#4e1227',
    950: '#000000',
  },
}
SCSS
$custom: #4e1227;
$custom-light: #835560;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1227",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 39
  },
  "hsl": {
    "h": 339,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29201,
    "c": 0.09114,
    "h": 3.4
  },
  "luminance": 0.02199
}

Semantic roles & 50–950 ramp

primary
#4E1227
secondary
#35876A
accent
#E6AC42
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4E1227

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

Preview Lab → · Contrast checker → · Palette generator →

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