#4E0C28#4E0C28

#4E0C28 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.6% C 0.099 H 0.3°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#4E0C28
RGBrgb(78, 12, 40)
HSLhsl(335, 73%, 18%)
HSVhsv(335, 85%, 31%)
CMYKcmyk(0%, 84.6%, 48.7%, 69.4%)
CIE-LABlab(15.68, 32.25, 0.08)
CIE-LCHlch(15.68, 32.25, 0.14°)
OKLaboklab(28.61% 0.0991 0.0006)
OKLCHoklch(28.61% 0.099 0.3)
XYZxyz(3.6566, 2.0363, 2.2076)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0C28 #0C4E32
analogous
#4E0C49 #4E0C28 #4E110C
triadic
#4E0C28 #284E0C #0C284E
tetradic
#4E0C28 #494E0C #0C4E32 #110C4E
square
#4E0C28 #494E0C #0C4E32 #110C4E
split-complementary
#4E0C28 #0C4E11 #0C494E
monochromatic
#1B040E #1B040E #4E0C28 #831443 #B81C5E

Accessibility & contrast

On white

14.92
#4E0C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4E0C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0C28
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0C28#FFFFFF#000000##FFFFFF
##4E0C281.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1F29
Deuteranopia (green-blind)
#2D2C26
Tritanopia (blue-blind)
#550218
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4e0c28;
/* rgb */ color: rgb(78, 12, 40);
/* oklch */ color: oklch(28.6% 0.099 0.3);
Tailwind
colors: {
  custom: {
    50: '#835361',
    500: '#4e0c28',
    950: '#000000',
  },
}
SCSS
$custom: #4e0c28;
$custom-light: #835361;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0c28",
  "rgb": {
    "r": 78,
    "g": 12,
    "b": 40
  },
  "hsl": {
    "h": 334.545,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28606,
    "c": 0.09906,
    "h": 0.3
  },
  "luminance": 0.02036
}

Semantic roles & 50–950 ramp

primary
#4E0C28
secondary
#2C8A62
accent
#F0A238
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4E0C28

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

Preview Lab → · Contrast checker → · Palette generator →

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