#4E072B#4E072B

#4E072B is a dark, moderate pink. Relative luminance 0.019; OKLCH L 28.3% C 0.106 H 356.2°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#4E072B
RGBrgb(78, 7, 43)
HSLhsl(330, 84%, 17%)
HSVhsv(330, 91%, 31%)
CMYKcmyk(0%, 91%, 44.9%, 69.4%)
CIE-LABlab(15.20, 34.25, -2.80)
CIE-LCHlch(15.20, 34.37, 355.32°)
OKLaboklab(28.3% 0.1055 -0.0069)
OKLCHoklch(28.3% 0.106 356.2)
XYZxyz(3.6542, 1.9466, 2.4683)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E072B #074E2A
analogous
#4E074E #4E072B #4E0708
triadic
#4E072B #2B4E07 #072B4E
tetradic
#4E072B #4E4E07 #074E2A #07084E
square
#4E072B #4E4E07 #074E2A #07084E
split-complementary
#4E072B #084E07 #074E4E
monochromatic
#1C030F #1C030F #4E072B #860C4A #BE1169

Accessibility & contrast

On white

15.12
#4E072B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#4E072B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E072B
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E072B#FFFFFF#000000##FFFFFF
##4E072B1.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181E2C
Deuteranopia (green-blind)
#2B2B29
Tritanopia (blue-blind)
#550018
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4e072b;
/* rgb */ color: rgb(78, 7, 43);
/* oklch */ color: oklch(28.3% 0.106 356.2);
Tailwind
colors: {
  custom: {
    50: '#845164',
    500: '#4e072b',
    950: '#000000',
  },
}
SCSS
$custom: #4e072b;
$custom-light: #845164;
$custom-dark: #000000;
JSON
{
  "hex": "#4e072b",
  "rgb": {
    "r": 78,
    "g": 7,
    "b": 43
  },
  "hsl": {
    "h": 329.577,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28297,
    "c": 0.10574,
    "h": 356.2
  },
  "luminance": 0.01946
}

Semantic roles & 50–950 ramp

primary
#4E072B
secondary
#258C58
accent
#FA922E
background
#F8F4F5
surface
#EFE7EA
border
#CAC3C6
text
#0B0205
muted
#7C7879

Preview Lab

Preview with #4E072B

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

Preview Lab → · Contrast checker → · Palette generator →

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