#4C0D1F#4C0D1F

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

Color values

HEX#4C0D1F
RGBrgb(76, 13, 31)
HSLhsl(343, 71%, 17%)
HSVhsv(343, 83%, 30%)
CMYKcmyk(0%, 82.9%, 59.2%, 70.2%)
CIE-LABlab(15.08, 30.32, 5.75)
CIE-LCHlch(15.08, 30.86, 10.74°)
OKLaboklab(27.99% 0.0922 0.0147)
OKLCHoklch(27.99% 0.093 9)
XYZxyz(3.3720, 1.9237, 1.4898)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D1F #0D4C3A
analogous
#4C0D3F #4C0D1F #4C1A0D
triadic
#4C0D1F #1F4C0D #0D1F4C
tetradic
#4C0D1F #3F4C0D #0D4C3A #1A0D4C
square
#4C0D1F #3F4C0D #0D4C3A #1A0D4C
split-complementary
#4C0D1F #0D4C1A #0D3F4C
monochromatic
#1A040B #1A040B #4C0D1F #801634 #B51F4A

Accessibility & contrast

On white

15.17
#4C0D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0D1F
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D1F#FFFFFF#000000##FFFFFF
##4C0D1F1.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1E1F
Deuteranopia (green-blind)
#2E2A1D
Tritanopia (blue-blind)
#540015
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0d1f;
/* rgb */ color: rgb(76, 13, 31);
/* oklch */ color: oklch(28.0% 0.093 9.0);
Tailwind
colors: {
  custom: {
    50: '#82525a',
    500: '#4c0d1f',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d1f;
$custom-light: #82525a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d1f",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 31
  },
  "hsl": {
    "h": 342.857,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27994,
    "c": 0.09332,
    "h": 9
  },
  "luminance": 0.01923
}

Semantic roles & 50–950 ramp

primary
#4C0D1F
secondary
#2E876E
accent
#EEBA3A
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0203
muted
#7C7878

Preview Lab

Preview with #4C0D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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