#4E1239#4E1239

#4E1239 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 30.0% C 0.101 H 345.0°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#4E1239
RGBrgb(78, 18, 57)
HSLhsl(321, 63%, 19%)
HSVhsv(321, 77%, 31%)
CMYKcmyk(0%, 76.9%, 26.9%, 69.4%)
CIE-LABlab(17.22, 32.13, -9.81)
CIE-LCHlch(17.22, 33.60, 343.03°)
OKLaboklab(29.96% 0.0971 -0.0261)
OKLCHoklch(29.96% 0.101 345)
XYZxyz(4.0969, 2.3481, 4.1076)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1239 #124E27
analogous
#45124E #4E1239 #4E121B
triadic
#4E1239 #394E12 #12394E
tetradic
#4E1239 #4E4512 #124E27 #121B4E
square
#4E1239 #4E4512 #124E27 #121B4E
split-complementary
#4E1239 #1B4E12 #124E45
monochromatic
#190612 #1C0715 #4E1239 #801D5D #B12982

Accessibility & contrast

On white

14.29
#4E1239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1239
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1239#FFFFFF#000000##FFFFFF
##4E12391.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19243A
Deuteranopia (green-blind)
#2B2E38
Tritanopia (blue-blind)
#541123
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e1239;
/* rgb */ color: rgb(78, 18, 57);
/* oklch */ color: oklch(30.0% 0.101 345.0);
Tailwind
colors: {
  custom: {
    50: '#82566f',
    500: '#4e1239',
    950: '#000000',
  },
}
SCSS
$custom: #4e1239;
$custom-light: #82566f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1239",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 321,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29964,
    "c": 0.10051,
    "h": 345
  },
  "luminance": 0.02348
}

Semantic roles & 50–950 ramp

primary
#4E1239
secondary
#358752
accent
#E67B42
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4E1239

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

Preview Lab → · Contrast checker → · Palette generator →

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