#4E1229#4E1229

#4E1229 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.3% C 0.092 H 1.3°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#4E1229
RGBrgb(78, 18, 41)
HSLhsl(337, 63%, 19%)
HSVhsv(337, 77%, 31%)
CMYKcmyk(0%, 76.9%, 47.4%, 69.4%)
CIE-LABlab(16.57, 29.97, 0.65)
CIE-LCHlch(16.57, 29.98, 1.24°)
OKLaboklab(29.27% 0.0918 0.002)
OKLCHoklch(29.27% 0.092 1.3)
XYZxyz(3.7587, 2.2129, 2.3266)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1229 #124E37
analogous
#4E1247 #4E1229 #4E1912
triadic
#4E1229 #294E12 #12294E
tetradic
#4E1229 #474E12 #124E37 #19124E
square
#4E1229 #474E12 #124E37 #19124E
split-complementary
#4E1229 #124E19 #12474E
monochromatic
#19060D #1C070F #4E1229 #801D43 #B1295D

Accessibility & contrast

On white

14.56
#4E1229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1229
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1229#FFFFFF#000000##FFFFFF
##4E12291.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F222A
Deuteranopia (green-blind)
#2F2D28
Tritanopia (blue-blind)
#550A1B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4e1229;
/* rgb */ color: rgb(78, 18, 41);
/* oklch */ color: oklch(29.3% 0.092 1.3);
Tailwind
colors: {
  custom: {
    50: '#835562',
    500: '#4e1229',
    950: '#000000',
  },
}
SCSS
$custom: #4e1229;
$custom-light: #835562;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1229",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 41
  },
  "hsl": {
    "h": 337,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29273,
    "c": 0.09182,
    "h": 1.3
  },
  "luminance": 0.02212
}

Semantic roles & 50–950 ramp

primary
#4E1229
secondary
#358767
accent
#E6A742
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4E1229

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

Preview Lab → · Contrast checker → · Palette generator →

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