#4E1742#4E1742

#4E1742 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.100 H 337.4°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#4E1742
RGBrgb(78, 23, 66)
HSLhsl(313, 54%, 20%)
HSVhsv(313, 71%, 31%)
CMYKcmyk(0%, 70.5%, 15.4%, 69.4%)
CIE-LABlab(18.48, 31.34, -14.15)
CIE-LCHlch(18.48, 34.39, 335.70°)
OKLaboklab(31.03% 0.0921 -0.0383)
OKLCHoklch(31.03% 0.1 337.4)
XYZxyz(4.4317, 2.6262, 5.4267)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1742 #174E23
analogous
#3F174E #4E1742 #4E1727
triadic
#4E1742 #424E17 #17424E
tetradic
#4E1742 #4E3F17 #174E23 #17274E
square
#4E1742 #4E3F17 #174E23 #17274E
split-complementary
#4E1742 #274E17 #174E3F
monochromatic
#180714 #1F091A #4E1742 #7D256A #AD3392

Accessibility & contrast

On white

13.77
#4E1742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4E1742 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1742
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1742#FFFFFF#000000##FFFFFF
##4E17421.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192843
Deuteranopia (green-blind)
#2A3041
Tritanopia (blue-blind)
#521A2A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e1742;
/* rgb */ color: rgb(78, 23, 66);
/* oklch */ color: oklch(31.0% 0.100 337.4);
Tailwind
colors: {
  custom: {
    50: '#825976',
    500: '#4e1742',
    950: '#000000',
  },
}
SCSS
$custom: #4e1742;
$custom-light: #825976;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1742",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 66
  },
  "hsl": {
    "h": 313.091,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31031,
    "c": 0.09979,
    "h": 337.4
  },
  "luminance": 0.02626
}

Semantic roles & 50–950 ramp

primary
#4E1742
secondary
#3C854C
accent
#DE6A4A
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #4E1742

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

Preview Lab → · Contrast checker → · Palette generator →

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