#4E1338#4E1338

#4E1338 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.0% C 0.098 H 346.1°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#4E1338
RGBrgb(78, 19, 56)
HSLhsl(322, 61%, 19%)
HSVhsv(322, 76%, 31%)
CMYKcmyk(0%, 75.6%, 28.2%, 69.4%)
CIE-LABlab(17.33, 31.54, -8.93)
CIE-LCHlch(17.33, 32.78, 344.19°)
OKLaboklab(30.03% 0.0955 -0.0236)
OKLCHoklch(30.03% 0.098 346.1)
XYZxyz(4.0887, 2.3714, 3.9830)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1338 #134E29
analogous
#47134E #4E1338 #4E131B
triadic
#4E1338 #384E13 #13384E
tetradic
#4E1338 #4E4713 #134E29 #131B4E
square
#4E1338 #4E4713 #134E29 #131B4E
split-complementary
#4E1338 #1B4E13 #134E47
monochromatic
#190612 #1D0715 #4E1338 #7F1F5B #B02B7F

Accessibility & contrast

On white

14.25
#4E1338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4E1338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1338
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1338#FFFFFF#000000##FFFFFF
##4E13381.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2439
Deuteranopia (green-blind)
#2B2E37
Tritanopia (blue-blind)
#541223
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e1338;
/* rgb */ color: rgb(78, 19, 56);
/* oklch */ color: oklch(30.0% 0.098 346.1);
Tailwind
colors: {
  custom: {
    50: '#82566e',
    500: '#4e1338',
    950: '#000000',
  },
}
SCSS
$custom: #4e1338;
$custom-light: #82566e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1338",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 56
  },
  "hsl": {
    "h": 322.373,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30028,
    "c": 0.09837,
    "h": 346.1
  },
  "luminance": 0.02371
}

Semantic roles & 50–950 ramp

primary
#4E1338
secondary
#368754
accent
#E48044
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4E1338

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

Preview Lab → · Contrast checker → · Palette generator →

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