#4C0D21#4C0D21

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

Color values

HEX#4C0D21
RGBrgb(76, 13, 33)
HSLhsl(341, 71%, 17%)
HSVhsv(341, 83%, 30%)
CMYKcmyk(0%, 82.9%, 56.6%, 70.2%)
CIE-LABlab(15.14, 30.51, 4.37)
CIE-LCHlch(15.14, 30.82, 8.15°)
OKLaboklab(28.06% 0.093 0.0113)
OKLCHoklch(28.06% 0.094 6.9)
XYZxyz(3.3992, 1.9346, 1.6330)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D21 #0D4C38
analogous
#4C0D41 #4C0D21 #4C180D
triadic
#4C0D21 #214C0D #0D214C
tetradic
#4C0D21 #414C0D #0D4C38 #180D4C
square
#4C0D21 #414C0D #0D4C38 #180D4C
split-complementary
#4C0D21 #0D4C18 #0D414C
monochromatic
#1A040B #1A040B #4C0D21 #801638 #B51F4E

Accessibility & contrast

On white

15.14
#4C0D21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0D21
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D21#FFFFFF#000000##FFFFFF
##4C0D211.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1E21
Deuteranopia (green-blind)
#2D2B1F
Tritanopia (blue-blind)
#540115
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0d21;
/* rgb */ color: rgb(76, 13, 33);
/* oklch */ color: oklch(28.1% 0.094 6.9);
Tailwind
colors: {
  custom: {
    50: '#82525b',
    500: '#4c0d21',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d21;
$custom-light: #82525b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d21",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 33
  },
  "hsl": {
    "h": 340.952,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28057,
    "c": 0.09373,
    "h": 6.9
  },
  "luminance": 0.01934
}

Semantic roles & 50–950 ramp

primary
#4C0D21
secondary
#2E876B
accent
#EEB53A
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0204
muted
#7C7879

Preview Lab

Preview with #4C0D21

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

Preview Lab → · Contrast checker → · Palette generator →

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