#4E0C38#4E0C38

#4E0C38 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.3% C 0.108 H 345.1°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#4E0C38
RGBrgb(78, 12, 56)
HSLhsl(320, 73%, 18%)
HSVhsv(320, 85%, 31%)
CMYKcmyk(0%, 84.6%, 28.2%, 69.4%)
CIE-LABlab(16.35, 34.30, -10.43)
CIE-LCHlch(16.35, 35.85, 343.09°)
OKLaboklab(29.32% 0.104 -0.0278)
OKLCHoklch(29.32% 0.108 345.1)
XYZxyz(3.9873, 2.1686, 3.9492)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0C38 #0C4E22
analogous
#430C4E #4E0C38 #4E0C17
triadic
#4E0C38 #384E0C #0C384E
tetradic
#4E0C38 #4E430C #0C4E22 #0C174E
square
#4E0C38 #4E430C #0C4E22 #0C174E
split-complementary
#4E0C38 #174E0C #0C4E43
monochromatic
#1B0413 #1B0413 #4E0C38 #83145E #B81C84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E0C38#FFFFFF#000000##FFFFFF
##4E0C381.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)
#152139
Deuteranopia (green-blind)
#292C37
Tritanopia (blue-blind)
#540B21
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4e0c38;
/* rgb */ color: rgb(78, 12, 56);
/* oklch */ color: oklch(29.3% 0.108 345.1);
Tailwind
colors: {
  custom: {
    50: '#83536e',
    500: '#4e0c38',
    950: '#000000',
  },
}
SCSS
$custom: #4e0c38;
$custom-light: #83536e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0c38",
  "rgb": {
    "r": 78,
    "g": 12,
    "b": 56
  },
  "hsl": {
    "h": 320,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29315,
    "c": 0.10764,
    "h": 345.1
  },
  "luminance": 0.02168
}

Semantic roles & 50–950 ramp

primary
#4E0C38
secondary
#2C8A4B
accent
#F07538
background
#F8F5F6
surface
#EFE8EC
border
#CAC4C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4E0C38

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

Preview Lab → · Contrast checker → · Palette generator →

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