#4E172C#4E172C

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

Color values

HEX#4E172C
RGBrgb(78, 23, 44)
HSLhsl(337, 54%, 20%)
HSVhsv(337, 71%, 31%)
CMYKcmyk(0%, 70.5%, 43.6%, 69.4%)
CIE-LABlab(17.53, 27.98, -0.10)
CIE-LCHlch(17.53, 27.98, 359.80°)
OKLaboklab(30.02% 0.0855 0.0001)
OKLCHoklch(30.02% 0.086 0.1)
XYZxyz(3.9032, 2.4148, 2.6429)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E172C #174E39
analogous
#4E1748 #4E172C #4E1E17
triadic
#4E172C #2C4E17 #172C4E
tetradic
#4E172C #484E17 #174E39 #1E174E
square
#4E172C #484E17 #174E39 #1E174E
split-complementary
#4E172C #174E1E #17484E
monochromatic
#18070D #1F0911 #4E172C #7D2547 #AD3361

Accessibility & contrast

On white

14.16
#4E172C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E172C
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E172C#FFFFFF#000000##FFFFFF
##4E172C1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242D
Deuteranopia (green-blind)
#302F2B
Tritanopia (blue-blind)
#55111F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e172c;
/* rgb */ color: rgb(78, 23, 44);
/* oklch */ color: oklch(30.0% 0.086 0.1);
Tailwind
colors: {
  custom: {
    50: '#835864',
    500: '#4e172c',
    950: '#000000',
  },
}
SCSS
$custom: #4e172c;
$custom-light: #835864;
$custom-dark: #000000;
JSON
{
  "hex": "#4e172c",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 44
  },
  "hsl": {
    "h": 337.091,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30019,
    "c": 0.08554,
    "h": 0.1
  },
  "luminance": 0.02414
}

Semantic roles & 50–950 ramp

primary
#4E172C
secondary
#3C8569
accent
#DEA54A
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #4E172C

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

Preview Lab → · Contrast checker → · Palette generator →

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