#4E1827#4E1827

#4E1827 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.0% C 0.082 H 6.5°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#4E1827
RGBrgb(78, 24, 39)
HSLhsl(343, 53%, 20%)
HSVhsv(343, 69%, 31%)
CMYKcmyk(0%, 69.2%, 50%, 69.4%)
CIE-LABlab(17.55, 26.87, 3.51)
CIE-LCHlch(17.55, 27.10, 7.43°)
OKLaboklab(29.98% 0.0818 0.0093)
OKLCHoklch(29.98% 0.082 6.5)
XYZxyz(3.8350, 2.4199, 2.1842)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1827 #184E3F
analogous
#4E1842 #4E1827 #4E2418
triadic
#4E1827 #274E18 #18274E
tetradic
#4E1827 #424E18 #184E3F #24184E
square
#4E1827 #424E18 #184E3F #24184E
split-complementary
#4E1827 #184E24 #18424E
monochromatic
#17070C #1F0A10 #4E1827 #7D263E #AC3556

Accessibility & contrast

On white

14.15
#4E1827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4E1827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1827
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1827#FFFFFF#000000##FFFFFF
##4E18271.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232427
Deuteranopia (green-blind)
#312F26
Tritanopia (blue-blind)
#55111E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e1827;
/* rgb */ color: rgb(78, 24, 39);
/* oklch */ color: oklch(30.0% 0.082 6.5);
Tailwind
colors: {
  custom: {
    50: '#835860',
    500: '#4e1827',
    950: '#000000',
  },
}
SCSS
$custom: #4e1827;
$custom-light: #835860;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1827",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 39
  },
  "hsl": {
    "h": 343.333,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.29983,
    "c": 0.08236,
    "h": 6.5
  },
  "luminance": 0.02419
}

Semantic roles & 50–950 ramp

primary
#4E1827
secondary
#3D8571
accent
#DCB44B
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4E1827

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

Preview Lab → · Contrast checker → · Palette generator →

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