#4E2145#4E2145

#4E2145 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.6% C 0.085 H 335.6°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#4E2145
RGBrgb(78, 33, 69)
HSLhsl(312, 41%, 22%)
HSVhsv(312, 58%, 31%)
CMYKcmyk(0%, 57.7%, 11.5%, 69.4%)
CIE-LABlab(20.59, 26.60, -12.96)
CIE-LCHlch(20.59, 29.59, 334.02°)
OKLaboklab(32.63% 0.0772 -0.0351)
OKLCHoklch(32.63% 0.085 335.6)
XYZxyz(4.7599, 3.1374, 5.9839)
Luminance0.0314 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2145 #214E2A
analogous
#41214E #4E2145 #4E212F
triadic
#4E2145 #454E21 #21454E
tetradic
#4E2145 #4E4121 #214E2A #212F4E
square
#4E2145 #4E4121 #214E2A #212F4E
split-complementary
#4E2145 #2F4E21 #214E41
monochromatic
#160913 #230F1F #4E2145 #79336B #A44591

Accessibility & contrast

On white

12.90
#4E2145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4E2145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2145
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2145#FFFFFF#000000##FFFFFF
##4E21451.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212D46
Deuteranopia (green-blind)
#2E3444
Tritanopia (blue-blind)
#52232F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e2145;
/* rgb */ color: rgb(78, 33, 69);
/* oklch */ color: oklch(32.6% 0.085 335.6);
Tailwind
colors: {
  custom: {
    50: '#815e78',
    500: '#4e2145',
    950: '#000000',
  },
}
SCSS
$custom: #4e2145;
$custom-light: #815e78;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2145",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 312,
    "s": 40.541,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3263,
    "c": 0.08477,
    "h": 335.6
  },
  "luminance": 0.03137
}

Semantic roles & 50–950 ramp

primary
#4E2145
secondary
#498254
accent
#D07057
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4E2145

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

Preview Lab → · Contrast checker → · Palette generator →

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