#4E0728#4E0728

#4E0728 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 28.2% C 0.104 H 359.1°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#4E0728
RGBrgb(78, 7, 40)
HSLhsl(332, 84%, 17%)
HSVhsv(332, 91%, 31%)
CMYKcmyk(0%, 91%, 48.7%, 69.4%)
CIE-LABlab(15.09, 33.92, -0.78)
CIE-LCHlch(15.09, 33.93, 358.69°)
OKLaboklab(28.18% 0.1044 -0.0016)
OKLCHoklch(28.18% 0.104 359.1)
XYZxyz(3.6012, 1.9254, 2.1891)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0728 #074E2D
analogous
#4E074C #4E0728 #4E0A07
triadic
#4E0728 #284E07 #07284E
tetradic
#4E0728 #4C4E07 #074E2D #0A074E
square
#4E0728 #4C4E07 #074E2D #0A074E
split-complementary
#4E0728 #074E0A #074C4E
monochromatic
#1C030E #1C030E #4E0728 #860C45 #BE1162

Accessibility & contrast

On white

15.16
#4E0728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0728
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0728#FFFFFF#000000##FFFFFF
##4E07281.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191D29
Deuteranopia (green-blind)
#2C2B26
Tritanopia (blue-blind)
#550016
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4e0728;
/* rgb */ color: rgb(78, 7, 40);
/* oklch */ color: oklch(28.2% 0.104 359.1);
Tailwind
colors: {
  custom: {
    50: '#845161',
    500: '#4e0728',
    950: '#000000',
  },
}
SCSS
$custom: #4e0728;
$custom-light: #845161;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0728",
  "rgb": {
    "r": 78,
    "g": 7,
    "b": 40
  },
  "hsl": {
    "h": 332.113,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28177,
    "c": 0.10444,
    "h": 359.1
  },
  "luminance": 0.01925
}

Semantic roles & 50–950 ramp

primary
#4E0728
secondary
#258C5C
accent
#FA9B2E
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0B0205
muted
#7C7879

Preview Lab

Preview with #4E0728

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

Preview Lab → · Contrast checker → · Palette generator →

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