#4C0C24#4C0C24

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

Color values

HEX#4C0C24
RGBrgb(76, 12, 36)
HSLhsl(338, 73%, 17%)
HSVhsv(338, 84%, 30%)
CMYKcmyk(0%, 84.2%, 52.6%, 70.2%)
CIE-LABlab(15.10, 31.19, 2.11)
CIE-LCHlch(15.10, 31.26, 3.88°)
OKLaboklab(28.06% 0.0955 0.0057)
OKLCHoklch(28.06% 0.096 3.4)
XYZxyz(3.4307, 1.9273, 1.8601)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0C24 #0C4C34
analogous
#4C0C44 #4C0C24 #4C140C
triadic
#4C0C24 #244C0C #0C244C
tetradic
#4C0C24 #444C0C #0C4C34 #140C4C
square
#4C0C24 #444C0C #0C4C34 #140C4C
split-complementary
#4C0C24 #0C4C14 #0C444C
monochromatic
#1A040D #1A040D #4C0C24 #81143D #B61D56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C0C24#FFFFFF#000000##FFFFFF
##4C0C241.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)
#1B1E25
Deuteranopia (green-blind)
#2C2A22
Tritanopia (blue-blind)
#530116
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0c24;
/* rgb */ color: rgb(76, 12, 36);
/* oklch */ color: oklch(28.1% 0.096 3.4);
Tailwind
colors: {
  custom: {
    50: '#82525e',
    500: '#4c0c24',
    950: '#000000',
  },
}
SCSS
$custom: #4c0c24;
$custom-light: #82525e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0c24",
  "rgb": {
    "r": 76,
    "g": 12,
    "b": 36
  },
  "hsl": {
    "h": 337.5,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28058,
    "c": 0.09571,
    "h": 3.4
  },
  "luminance": 0.01927
}

Semantic roles & 50–950 ramp

primary
#4C0C24
secondary
#2C8865
accent
#EFAB38
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0204
muted
#7C7879

Preview Lab

Preview with #4C0C24

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

Preview Lab → · Contrast checker → · Palette generator →

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