#4E0742#4E0742

#4E0742 is a dark, vivid pink. Relative luminance 0.022; OKLCH L 29.5% C 0.120 H 336.6°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#4E0742
RGBrgb(78, 7, 66)
HSLhsl(310, 84%, 17%)
HSVhsv(310, 91%, 31%)
CMYKcmyk(0%, 91%, 15.4%, 69.4%)
CIE-LABlab(16.33, 37.42, -17.51)
CIE-LCHlch(16.33, 41.32, 334.93°)
OKLaboklab(29.48% 0.1103 -0.0478)
OKLCHoklch(29.48% 0.12 336.6)
XYZxyz(4.2013, 2.1654, 5.3499)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0742 #074E13
analogous
#37074E #4E0742 #4E071F
triadic
#4E0742 #424E07 #07424E
tetradic
#4E0742 #4E3707 #074E13 #071F4E
square
#4E0742 #4E3707 #074E13 #071F4E
split-complementary
#4E0742 #1F4E07 #074E37
monochromatic
#1C0318 #1C0318 #4E0742 #860C72 #BE11A1

Accessibility & contrast

On white

14.65
#4E0742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4E0742 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0742
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0742#FFFFFF#000000##FFFFFF
##4E07421.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092243
Deuteranopia (green-blind)
#242C40
Tritanopia (blue-blind)
#530D25
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4e0742;
/* rgb */ color: rgb(78, 7, 66);
/* oklch */ color: oklch(29.5% 0.120 336.6);
Tailwind
colors: {
  custom: {
    50: '#835276',
    500: '#4e0742',
    950: '#000000',
  },
}
SCSS
$custom: #4e0742;
$custom-light: #835276;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0742",
  "rgb": {
    "r": 78,
    "g": 7,
    "b": 66
  },
  "hsl": {
    "h": 310.141,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29479,
    "c": 0.12019,
    "h": 336.6
  },
  "luminance": 0.02165
}

Semantic roles & 50–950 ramp

primary
#4E0742
secondary
#258C36
accent
#FA502E
background
#F8F4F7
surface
#EFE7ED
border
#CAC3C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E0742

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

Preview Lab → · Contrast checker → · Palette generator →

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