#4E172D#4E172D

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

Color values

HEX#4E172D
RGBrgb(78, 23, 45)
HSLhsl(336, 54%, 20%)
HSVhsv(336, 71%, 31%)
CMYKcmyk(0%, 70.5%, 42.3%, 69.4%)
CIE-LABlab(17.56, 28.11, -0.76)
CIE-LCHlch(17.56, 28.12, 358.45°)
OKLaboklab(30.06% 0.0859 -0.0016)
OKLCHoklch(30.06% 0.086 358.9)
XYZxyz(3.9222, 2.4224, 2.7431)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E172D #174E38
analogous
#4E1749 #4E172D #4E1D17
triadic
#4E172D #2D4E17 #172D4E
tetradic
#4E172D #494E17 #174E38 #1D174E
square
#4E172D #494E17 #174E38 #1D174E
split-complementary
#4E172D #174E1D #17494E
monochromatic
#18070E #1F0912 #4E172D #7D2548 #AD3364

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E172D#FFFFFF#000000##FFFFFF
##4E172D1.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)
#21242E
Deuteranopia (green-blind)
#302F2C
Tritanopia (blue-blind)
#551220
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e172d;
/* rgb */ color: rgb(78, 23, 45);
/* oklch */ color: oklch(30.1% 0.086 358.9);
Tailwind
colors: {
  custom: {
    50: '#825865',
    500: '#4e172d',
    950: '#000000',
  },
}
SCSS
$custom: #4e172d;
$custom-light: #825865;
$custom-dark: #000000;
JSON
{
  "hex": "#4e172d",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 45
  },
  "hsl": {
    "h": 336,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30057,
    "c": 0.08596,
    "h": 358.9
  },
  "luminance": 0.02422
}

Semantic roles & 50–950 ramp

primary
#4E172D
secondary
#3C8568
accent
#DEA34A
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #4E172D

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

Preview Lab → · Contrast checker → · Palette generator →

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