#4E172B#4E172B

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

Color values

HEX#4E172B
RGBrgb(78, 23, 43)
HSLhsl(338, 54%, 20%)
HSVhsv(338, 71%, 31%)
CMYKcmyk(0%, 70.5%, 44.9%, 69.4%)
CIE-LABlab(17.49, 27.86, 0.56)
CIE-LCHlch(17.49, 27.86, 1.16°)
OKLaboklab(29.98% 0.0851 0.0018)
OKLCHoklch(29.98% 0.085 1.2)
XYZxyz(3.8846, 2.4074, 2.5451)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E172B #174E3A
analogous
#4E1746 #4E172B #4E1F17
triadic
#4E172B #2B4E17 #172B4E
tetradic
#4E172B #464E17 #174E3A #1F174E
square
#4E172B #464E17 #174E3A #1F174E
split-complementary
#4E172B #174E1F #17464E
monochromatic
#18070D #1F0911 #4E172B #7D2545 #AD335F

Accessibility & contrast

On white

14.18
#4E172B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E172B
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E172B#FFFFFF#000000##FFFFFF
##4E172B1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22242C
Deuteranopia (green-blind)
#302F2A
Tritanopia (blue-blind)
#55111F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e172b;
/* rgb */ color: rgb(78, 23, 43);
/* oklch */ color: oklch(30.0% 0.085 1.2);
Tailwind
colors: {
  custom: {
    50: '#835864',
    500: '#4e172b',
    950: '#000000',
  },
}
SCSS
$custom: #4e172b;
$custom-light: #835864;
$custom-dark: #000000;
JSON
{
  "hex": "#4e172b",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 43
  },
  "hsl": {
    "h": 338.182,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29982,
    "c": 0.08516,
    "h": 1.2
  },
  "luminance": 0.02407
}

Semantic roles & 50–950 ramp

primary
#4E172B
secondary
#3C856A
accent
#DEA84A
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4E172B

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

Preview Lab → · Contrast checker → · Palette generator →

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