#4E172F#4E172F

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

Color values

HEX#4E172F
RGBrgb(78, 23, 47)
HSLhsl(334, 54%, 20%)
HSVhsv(334, 71%, 31%)
CMYKcmyk(0%, 70.5%, 39.7%, 69.4%)
CIE-LABlab(17.64, 28.37, -2.08)
CIE-LCHlch(17.64, 28.45, 355.81°)
OKLaboklab(30.13% 0.0867 -0.0051)
OKLCHoklch(30.13% 0.087 356.6)
XYZxyz(3.9616, 2.4382, 2.9508)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E172F #174E36
analogous
#4E174B #4E172F #4E1B17
triadic
#4E172F #2F4E17 #172F4E
tetradic
#4E172F #4B4E17 #174E36 #1B174E
square
#4E172F #4B4E17 #174E36 #1B174E
split-complementary
#4E172F #174E1B #174B4E
monochromatic
#18070E #1F0913 #4E172F #7D254B #AD3368

Accessibility & contrast

On white

14.12
#4E172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4E172F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E172F
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E172F#FFFFFF#000000##FFFFFF
##4E172F1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202530
Deuteranopia (green-blind)
#2F2F2E
Tritanopia (blue-blind)
#551221
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e172f;
/* rgb */ color: rgb(78, 23, 47);
/* oklch */ color: oklch(30.1% 0.087 356.6);
Tailwind
colors: {
  custom: {
    50: '#825867',
    500: '#4e172f',
    950: '#000000',
  },
}
SCSS
$custom: #4e172f;
$custom-light: #825867;
$custom-dark: #000000;
JSON
{
  "hex": "#4e172f",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 333.818,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30134,
    "c": 0.08686,
    "h": 356.6
  },
  "luminance": 0.02438
}

Semantic roles & 50–950 ramp

primary
#4E172F
secondary
#3C8565
accent
#DE9D4A
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4E172F

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

Preview Lab → · Contrast checker → · Palette generator →

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