#4C0D1E#4C0D1E

#4C0D1E is a dark, moderate pink. Relative luminance 0.019; OKLCH L 28.0% C 0.093 H 10.1°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#4C0D1E
RGBrgb(76, 13, 30)
HSLhsl(344, 71%, 17%)
HSVhsv(344, 83%, 30%)
CMYKcmyk(0%, 82.9%, 60.5%, 70.2%)
CIE-LABlab(15.05, 30.23, 6.45)
CIE-LCHlch(15.05, 30.91, 12.04°)
OKLaboklab(27.97% 0.0917 0.0163)
OKLCHoklch(27.97% 0.093 10.1)
XYZxyz(3.3591, 1.9186, 1.4215)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D1E #0D4C3B
analogous
#4C0D3D #4C0D1E #4C1C0D
triadic
#4C0D1E #1E4C0D #0D1E4C
tetradic
#4C0D1E #3D4C0D #0D4C3B #1C0D4C
square
#4C0D1E #3D4C0D #0D4C3B #1C0D4C
split-complementary
#4C0D1E #0D4C1C #0D3D4C
monochromatic
#1A040A #1A040A #4C0D1E #801633 #B51F47

Accessibility & contrast

On white

15.18
#4C0D1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#4C0D1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0D1E
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D1E#FFFFFF#000000##FFFFFF
##4C0D1E1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1E1E
Deuteranopia (green-blind)
#2E2A1C
Tritanopia (blue-blind)
#540014
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0d1e;
/* rgb */ color: rgb(76, 13, 30);
/* oklch */ color: oklch(28.0% 0.093 10.1);
Tailwind
colors: {
  custom: {
    50: '#835259',
    500: '#4c0d1e',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d1e;
$custom-light: #835259;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d1e",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 30
  },
  "hsl": {
    "h": 343.81,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27965,
    "c": 0.09314,
    "h": 10.1
  },
  "luminance": 0.01918
}

Semantic roles & 50–950 ramp

primary
#4C0D1E
secondary
#2E876F
accent
#EEBD3A
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0203
muted
#7C7878

Preview Lab

Preview with #4C0D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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