#4E162B#4E162B

#4E162B is a dark, moderate pink. Relative luminance 0.024; OKLCH L 29.8% C 0.087 H 0.7°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#4E162B
RGBrgb(78, 22, 43)
HSLhsl(338, 56%, 20%)
HSVhsv(338, 72%, 31%)
CMYKcmyk(0%, 71.8%, 44.9%, 69.4%)
CIE-LABlab(17.31, 28.35, 0.30)
CIE-LCHlch(17.31, 28.35, 0.61°)
OKLaboklab(29.85% 0.0867 0.0011)
OKLCHoklch(29.85% 0.087 0.7)
XYZxyz(3.8651, 2.3684, 2.5386)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E162B #164E39
analogous
#4E1647 #4E162B #4E1D16
triadic
#4E162B #2B4E16 #162B4E
tetradic
#4E162B #474E16 #164E39 #1D164E
square
#4E162B #474E16 #164E39 #1D164E
split-complementary
#4E162B #164E1D #16474E
monochromatic
#18070D #1E0911 #4E162B #7E2345 #AD3160

Accessibility & contrast

On white

14.25
#4E162B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4E162B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E162B
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E162B#FFFFFF#000000##FFFFFF
##4E162B1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242C
Deuteranopia (green-blind)
#302F2A
Tritanopia (blue-blind)
#55101E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e162b;
/* rgb */ color: rgb(78, 22, 43);
/* oklch */ color: oklch(29.8% 0.087 0.7);
Tailwind
colors: {
  custom: {
    50: '#835764',
    500: '#4e162b',
    950: '#000000',
  },
}
SCSS
$custom: #4e162b;
$custom-light: #835764;
$custom-dark: #000000;
JSON
{
  "hex": "#4e162b",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 337.5,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29847,
    "c": 0.08671,
    "h": 0.7
  },
  "luminance": 0.02368
}

Semantic roles & 50–950 ramp

primary
#4E162B
secondary
#3A8569
accent
#DFA749
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4E162B

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

Preview Lab → · Contrast checker → · Palette generator →

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