#4C0E36#4C0E36

#4C0E36 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.0% C 0.102 H 345.8°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#4C0E36
RGBrgb(76, 14, 54)
HSLhsl(321, 69%, 18%)
HSVhsv(321, 82%, 30%)
CMYKcmyk(0%, 81.6%, 28.9%, 70.2%)
CIE-LABlab(16.09, 32.70, -9.44)
CIE-LCHlch(16.09, 34.03, 343.90°)
OKLaboklab(29.02% 0.0992 -0.025)
OKLCHoklch(29.02% 0.102 345.8)
XYZxyz(3.8036, 2.1173, 3.6977)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0E36 #0E4C24
analogous
#430E4C #4C0E36 #4C0E17
triadic
#4C0E36 #364C0E #0E364C
tetradic
#4C0E36 #4C430E #0E4C24 #0E174C
square
#4C0E36 #4C430E #0E4C24 #0E174C
split-complementary
#4C0E36 #174C0E #0E4C43
monochromatic
#1A0512 #1A0512 #4C0E36 #80185B #B3217F

Accessibility & contrast

On white

14.75
#4C0E36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4C0E36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0E36
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0E36#FFFFFF#000000##FFFFFF
##4C0E361.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162137
Deuteranopia (green-blind)
#292C35
Tritanopia (blue-blind)
#520D20
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c0e36;
/* rgb */ color: rgb(76, 14, 54);
/* oklch */ color: oklch(29.0% 0.102 345.8);
Tailwind
colors: {
  custom: {
    50: '#81546d',
    500: '#4c0e36',
    950: '#000000',
  },
}
SCSS
$custom: #4c0e36;
$custom-light: #81546d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0e36",
  "rgb": {
    "r": 76,
    "g": 14,
    "b": 54
  },
  "hsl": {
    "h": 321.29,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2902,
    "c": 0.10229,
    "h": 345.8
  },
  "luminance": 0.02117
}

Semantic roles & 50–950 ramp

primary
#4C0E36
secondary
#2F874E
accent
#EC7A3C
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4C0E36

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

Preview Lab → · Contrast checker → · Palette generator →

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