#4E0C3F#4E0C3F

#4E0C3F is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.7% C 0.113 H 339.1°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#4E0C3F
RGBrgb(78, 12, 63)
HSLhsl(314, 73%, 18%)
HSVhsv(314, 85%, 31%)
CMYKcmyk(0%, 84.6%, 19.2%, 69.4%)
CIE-LABlab(16.71, 35.37, -14.82)
CIE-LCHlch(16.71, 38.35, 337.27°)
OKLaboklab(29.69% 0.1053 -0.0401)
OKLCHoklch(29.69% 0.113 339.1)
XYZxyz(4.1707, 2.2419, 4.9148)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0C3F #0C4E1B
analogous
#3C0C4E #4E0C3F #4E0C1E
triadic
#4E0C3F #3F4E0C #0C3F4E
tetradic
#4E0C3F #4E3C0C #0C4E1B #0C1E4E
square
#4E0C3F #4E3C0C #0C4E1B #0C1E4E
split-complementary
#4E0C3F #1E4E0C #0C4E3C
monochromatic
#1B0415 #1B0415 #4E0C3F #83146A #B81C95

Accessibility & contrast

On white

14.50
#4E0C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4E0C3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0C3F
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0C3F#FFFFFF#000000##FFFFFF
##4E0C3F1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102340
Deuteranopia (green-blind)
#262D3E
Tritanopia (blue-blind)
#530F24
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4e0c3f;
/* rgb */ color: rgb(78, 12, 63);
/* oklch */ color: oklch(29.7% 0.113 339.1);
Tailwind
colors: {
  custom: {
    50: '#825474',
    500: '#4e0c3f',
    950: '#000000',
  },
}
SCSS
$custom: #4e0c3f;
$custom-light: #825474;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0c3f",
  "rgb": {
    "r": 78,
    "g": 12,
    "b": 63
  },
  "hsl": {
    "h": 313.636,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29694,
    "c": 0.11264,
    "h": 339.1
  },
  "luminance": 0.02242
}

Semantic roles & 50–950 ramp

primary
#4E0C3F
secondary
#2C8A41
accent
#F06238
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E0C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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