#4E163E#4E163E

#4E163E is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.7% C 0.098 H 340.9°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#4E163E
RGBrgb(78, 22, 62)
HSLhsl(317, 56%, 20%)
HSVhsv(317, 72%, 31%)
CMYKcmyk(0%, 71.8%, 20.5%, 69.4%)
CIE-LABlab(18.11, 31.13, -11.95)
CIE-LCHlch(18.11, 33.34, 339.00°)
OKLaboklab(30.69% 0.0927 -0.0321)
OKLCHoklch(30.69% 0.098 340.9)
XYZxyz(4.2984, 2.5417, 4.8207)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E163E #164E26
analogous
#42164E #4E163E #4E1622
triadic
#4E163E #3E4E16 #163E4E
tetradic
#4E163E #4E4216 #164E26 #16224E
square
#4E163E #4E4216 #164E26 #16224E
split-complementary
#4E163E #224E16 #164E42
monochromatic
#180713 #1E0918 #4E163E #7E2364 #AD318A

Accessibility & contrast

On white

13.92
#4E163E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4E163E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E163E
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E163E#FFFFFF#000000##FFFFFF
##4E163E1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A263F
Deuteranopia (green-blind)
#2B303D
Tritanopia (blue-blind)
#531727
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e163e;
/* rgb */ color: rgb(78, 22, 62);
/* oklch */ color: oklch(30.7% 0.098 340.9);
Tailwind
colors: {
  custom: {
    50: '#825873',
    500: '#4e163e',
    950: '#000000',
  },
}
SCSS
$custom: #4e163e;
$custom-light: #825873;
$custom-dark: #000000;
JSON
{
  "hex": "#4e163e",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 62
  },
  "hsl": {
    "h": 317.143,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30692,
    "c": 0.09814,
    "h": 340.9
  },
  "luminance": 0.02541
}

Semantic roles & 50–950 ramp

primary
#4E163E
secondary
#3A8550
accent
#DF7449
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E163E

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

Preview Lab → · Contrast checker → · Palette generator →

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