#4E163F#4E163F

#4E163F is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.7% C 0.099 H 340.0°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#4E163F
RGBrgb(78, 22, 63)
HSLhsl(316, 56%, 20%)
HSVhsv(316, 72%, 31%)
CMYKcmyk(0%, 71.8%, 19.2%, 69.4%)
CIE-LABlab(18.16, 31.30, -12.57)
CIE-LCHlch(18.16, 33.73, 338.12°)
OKLaboklab(30.74% 0.093 -0.0339)
OKLCHoklch(30.74% 0.099 340)
XYZxyz(4.3261, 2.5528, 4.9666)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E163F #164E25
analogous
#41164E #4E163F #4E1623
triadic
#4E163F #3F4E16 #163F4E
tetradic
#4E163F #4E4116 #164E25 #16234E
square
#4E163F #4E4116 #164E25 #16234E
split-complementary
#4E163F #234E16 #164E41
monochromatic
#180713 #1E0918 #4E163F #7E2366 #AD318C

Accessibility & contrast

On white

13.90
#4E163F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E163F
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E163F#FFFFFF#000000##FFFFFF
##4E163F1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192740
Deuteranopia (green-blind)
#2A303E
Tritanopia (blue-blind)
#531728
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e163f;
/* rgb */ color: rgb(78, 22, 63);
/* oklch */ color: oklch(30.7% 0.099 340.0);
Tailwind
colors: {
  custom: {
    50: '#825874',
    500: '#4e163f',
    950: '#000000',
  },
}
SCSS
$custom: #4e163f;
$custom-light: #825874;
$custom-dark: #000000;
JSON
{
  "hex": "#4e163f",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 63
  },
  "hsl": {
    "h": 316.071,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30744,
    "c": 0.09893,
    "h": 340
  },
  "luminance": 0.02552
}

Semantic roles & 50–950 ramp

primary
#4E163F
secondary
#3A854E
accent
#DF7149
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E163F

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

Preview Lab → · Contrast checker → · Palette generator →

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