#4E1837#4E1837

#4E1837 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.090 H 348.2°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#4E1837
RGBrgb(78, 24, 55)
HSLhsl(326, 53%, 20%)
HSVhsv(326, 69%, 31%)
CMYKcmyk(0%, 69.2%, 29.5%, 69.4%)
CIE-LABlab(18.14, 29.03, -6.99)
CIE-LCHlch(18.14, 29.86, 346.46°)
OKLaboklab(30.61% 0.0879 -0.0184)
OKLCHoklch(30.61% 0.09 348.2)
XYZxyz(4.1583, 2.5492, 3.8867)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1837 #184E2F
analogous
#4A184E #4E1837 #4E181C
triadic
#4E1837 #374E18 #18374E
tetradic
#4E1837 #4E4A18 #184E2F #181C4E
square
#4E1837 #4E4A18 #184E2F #181C4E
split-complementary
#4E1837 #1C4E18 #184E4A
monochromatic
#170710 #1F0A16 #4E1837 #7D2658 #AC3579

Accessibility & contrast

On white

13.91
#4E1837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1837
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1837#FFFFFF#000000##FFFFFF
##4E18371.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2638
Deuteranopia (green-blind)
#2E3036
Tritanopia (blue-blind)
#541625
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e1837;
/* rgb */ color: rgb(78, 24, 55);
/* oklch */ color: oklch(30.6% 0.090 348.2);
Tailwind
colors: {
  custom: {
    50: '#82596d',
    500: '#4e1837',
    950: '#000000',
  },
}
SCSS
$custom: #4e1837;
$custom-light: #82596d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1837",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 55
  },
  "hsl": {
    "h": 325.556,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.30611,
    "c": 0.08979,
    "h": 348.2
  },
  "luminance": 0.02549
}

Semantic roles & 50–950 ramp

primary
#4E1837
secondary
#3D855C
accent
#DC894B
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #4E1837

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

Preview Lab → · Contrast checker → · Palette generator →

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