#4C0D28#4C0D28

#4C0D28 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.3% C 0.096 H 359.6°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#4C0D28
RGBrgb(76, 13, 40)
HSLhsl(334, 71%, 17%)
HSVhsv(334, 83%, 30%)
CMYKcmyk(0%, 82.9%, 47.4%, 70.2%)
CIE-LABlab(15.37, 31.25, -0.42)
CIE-LCHlch(15.37, 31.25, 359.23°)
OKLaboklab(28.3% 0.0959 -0.0007)
OKLCHoklch(28.3% 0.096 359.6)
XYZxyz(3.5077, 1.9780, 2.2042)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D28 #0D4C31
analogous
#4C0D47 #4C0D28 #4C120D
triadic
#4C0D28 #284C0D #0D284C
tetradic
#4C0D28 #474C0D #0D4C31 #120D4C
square
#4C0D28 #474C0D #0D4C31 #120D4C
split-complementary
#4C0D28 #0D4C12 #0D474C
monochromatic
#1A040E #1A040E #4C0D28 #801644 #B51F5F

Accessibility & contrast

On white

15.05
#4C0D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#4C0D28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0D28
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D28#FFFFFF#000000##FFFFFF
##4C0D281.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1F29
Deuteranopia (green-blind)
#2C2B27
Tritanopia (blue-blind)
#530419
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0d28;
/* rgb */ color: rgb(76, 13, 40);
/* oklch */ color: oklch(28.3% 0.096 359.6);
Tailwind
colors: {
  custom: {
    50: '#825361',
    500: '#4c0d28',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d28;
$custom-light: #825361;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d28",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 40
  },
  "hsl": {
    "h": 334.286,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28302,
    "c": 0.09594,
    "h": 359.6
  },
  "luminance": 0.01978
}

Semantic roles & 50–950 ramp

primary
#4C0D28
secondary
#2E8761
accent
#EEA13A
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4C0D28

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

Preview Lab → · Contrast checker → · Palette generator →

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