#4C0C26#4C0C26

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

Color values

HEX#4C0C26
RGBrgb(76, 12, 38)
HSLhsl(336, 73%, 17%)
HSVhsv(336, 84%, 30%)
CMYKcmyk(0%, 84.2%, 50%, 70.2%)
CIE-LABlab(15.17, 31.40, 0.74)
CIE-LCHlch(15.17, 31.41, 1.36°)
OKLaboklab(28.13% 0.0964 0.0023)
OKLCHoklch(28.13% 0.096 1.3)
XYZxyz(3.4621, 1.9398, 2.0255)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0C26 #0C4C32
analogous
#4C0C46 #4C0C26 #4C120C
triadic
#4C0C26 #264C0C #0C264C
tetradic
#4C0C26 #464C0C #0C4C32 #120C4C
square
#4C0C26 #464C0C #0C4C32 #120C4C
split-complementary
#4C0C26 #0C4C12 #0C464C
monochromatic
#1A040D #1A040D #4C0C26 #811440 #B61D5B

Accessibility & contrast

On white

15.13
#4C0C26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0C26
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0C26#FFFFFF#000000##FFFFFF
##4C0C261.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1E27
Deuteranopia (green-blind)
#2C2A25
Tritanopia (blue-blind)
#530217
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0c26;
/* rgb */ color: rgb(76, 12, 38);
/* oklch */ color: oklch(28.1% 0.096 1.3);
Tailwind
colors: {
  custom: {
    50: '#825260',
    500: '#4c0c26',
    950: '#000000',
  },
}
SCSS
$custom: #4c0c26;
$custom-light: #825260;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0c26",
  "rgb": {
    "r": 76,
    "g": 12,
    "b": 38
  },
  "hsl": {
    "h": 335.625,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2813,
    "c": 0.09638,
    "h": 1.3
  },
  "luminance": 0.01939
}

Semantic roles & 50–950 ramp

primary
#4C0C26
secondary
#2C8862
accent
#EFA538
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0204
muted
#7C7879

Preview Lab

Preview with #4C0C26

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

Preview Lab → · Contrast checker → · Palette generator →

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