#4E1038#4E1038

#4E1038 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.103 H 345.6°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#4E1038
RGBrgb(78, 16, 56)
HSLhsl(321, 66%, 18%)
HSVhsv(321, 79%, 31%)
CMYKcmyk(0%, 79.5%, 28.2%, 69.4%)
CIE-LABlab(16.87, 32.81, -9.62)
CIE-LCHlch(16.87, 34.19, 343.65°)
OKLaboklab(29.7% 0.0994 -0.0255)
OKLCHoklch(29.7% 0.103 345.6)
XYZxyz(4.0412, 2.2762, 3.9672)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1038 #104E26
analogous
#45104E #4E1038 #4E1019
triadic
#4E1038 #384E10 #10384E
tetradic
#4E1038 #4E4510 #104E26 #10194E
square
#4E1038 #4E4510 #104E26 #10194E
split-complementary
#4E1038 #194E10 #104E45
monochromatic
#190512 #1B0614 #4E1038 #811A5C #B42581

Accessibility & contrast

On white

14.43
#4E1038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4E1038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1038
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1038#FFFFFF#000000##FFFFFF
##4E10381.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182339
Deuteranopia (green-blind)
#2A2D37
Tritanopia (blue-blind)
#540F22
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e1038;
/* rgb */ color: rgb(78, 16, 56);
/* oklch */ color: oklch(29.7% 0.103 345.6);
Tailwind
colors: {
  custom: {
    50: '#82556e',
    500: '#4e1038',
    950: '#000000',
  },
}
SCSS
$custom: #4e1038;
$custom-light: #82556e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1038",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 56
  },
  "hsl": {
    "h": 321.29,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29698,
    "c": 0.10262,
    "h": 345.6
  },
  "luminance": 0.02276
}

Semantic roles & 50–950 ramp

primary
#4E1038
secondary
#328850
accent
#E97B3F
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4E1038

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

Preview Lab → · Contrast checker → · Palette generator →

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