#4E072A#4E072A

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

Color values

HEX#4E072A
RGBrgb(78, 7, 42)
HSLhsl(330, 84%, 17%)
HSVhsv(330, 91%, 31%)
CMYKcmyk(0%, 91%, 46.2%, 69.4%)
CIE-LABlab(15.17, 34.14, -2.13)
CIE-LCHlch(15.17, 34.21, 356.43°)
OKLaboklab(28.26% 0.1052 -0.0052)
OKLCHoklch(28.26% 0.105 357.2)
XYZxyz(3.6361, 1.9393, 2.3729)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E072A #074E2B
analogous
#4E074E #4E072A #4E0807
triadic
#4E072A #2A4E07 #072A4E
tetradic
#4E072A #4E4E07 #074E2B #08074E
square
#4E072A #4E4E07 #074E2B #08074E
split-complementary
#4E072A #074E08 #074E4E
monochromatic
#1C030F #1C030F #4E072A #860C48 #BE1166

Accessibility & contrast

On white

15.13
#4E072A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E072A
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E072A#FFFFFF#000000##FFFFFF
##4E072A1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e072a;
/* rgb */ color: rgb(78, 7, 42);
/* oklch */ color: oklch(28.3% 0.105 357.2);
Tailwind
colors: {
  custom: {
    50: '#845163',
    500: '#4e072a',
    950: '#000000',
  },
}
SCSS
$custom: #4e072a;
$custom-light: #845163;
$custom-dark: #000000;
JSON
{
  "hex": "#4e072a",
  "rgb": {
    "r": 78,
    "g": 7,
    "b": 42
  },
  "hsl": {
    "h": 330.423,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28256,
    "c": 0.10529,
    "h": 357.2
  },
  "luminance": 0.01939
}

Semantic roles & 50–950 ramp

primary
#4E072A
secondary
#258C59
accent
#FA952E
background
#F8F4F5
surface
#F0E7EA
border
#CBC3C6
text
#0B0205
muted
#7C7879

Preview Lab

Preview with #4E072A

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

Preview Lab → · Contrast checker → · Palette generator →

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