#4E1838#4E1838

#4E1838 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.7% C 0.090 H 347.2°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#4E1838
RGBrgb(78, 24, 56)
HSLhsl(324, 53%, 20%)
HSVhsv(324, 69%, 31%)
CMYKcmyk(0%, 69.2%, 28.2%, 69.4%)
CIE-LABlab(18.18, 29.18, -7.63)
CIE-LCHlch(18.18, 30.16, 345.35°)
OKLaboklab(30.66% 0.0882 -0.0201)
OKLCHoklch(30.66% 0.09 347.2)
XYZxyz(4.1825, 2.5589, 4.0143)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1838 #184E2E
analogous
#49184E #4E1838 #4E181D
triadic
#4E1838 #384E18 #18384E
tetradic
#4E1838 #4E4918 #184E2E #181D4E
square
#4E1838 #4E4918 #184E2E #181D4E
split-complementary
#4E1838 #1D4E18 #184E49
monochromatic
#170711 #1F0A16 #4E1838 #7D265A #AC357B

Accessibility & contrast

On white

13.89
#4E1838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4E1838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1838
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1838#FFFFFF#000000##FFFFFF
##4E18381.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2639
Deuteranopia (green-blind)
#2E3037
Tritanopia (blue-blind)
#541725
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e1838;
/* rgb */ color: rgb(78, 24, 56);
/* oklch */ color: oklch(30.7% 0.090 347.2);
Tailwind
colors: {
  custom: {
    50: '#82596e',
    500: '#4e1838',
    950: '#000000',
  },
}
SCSS
$custom: #4e1838;
$custom-light: #82596e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1838",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 56
  },
  "hsl": {
    "h": 324.444,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.30657,
    "c": 0.09047,
    "h": 347.2
  },
  "luminance": 0.02558
}

Semantic roles & 50–950 ramp

primary
#4E1838
secondary
#3D855A
accent
#DC864B
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #4E1838

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

Preview Lab → · Contrast checker → · Palette generator →

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