#4C0D22#4C0D22

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

Color values

HEX#4C0D22
RGBrgb(76, 13, 34)
HSLhsl(340, 71%, 17%)
HSVhsv(340, 83%, 30%)
CMYKcmyk(0%, 82.9%, 55.3%, 70.2%)
CIE-LABlab(15.17, 30.61, 3.68)
CIE-LCHlch(15.17, 30.83, 6.85°)
OKLaboklab(28.09% 0.0935 0.0096)
OKLCHoklch(28.09% 0.094 5.9)
XYZxyz(3.4134, 1.9403, 1.7078)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D22 #0D4C37
analogous
#4C0D42 #4C0D22 #4C170D
triadic
#4C0D22 #224C0D #0D224C
tetradic
#4C0D22 #424C0D #0D4C37 #170D4C
square
#4C0D22 #424C0D #0D4C37 #170D4C
split-complementary
#4C0D22 #0D4C17 #0D424C
monochromatic
#1A040C #1A040C #4C0D22 #801639 #B51F51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C0D22#FFFFFF#000000##FFFFFF
##4C0D221.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)
#1D1E22
Deuteranopia (green-blind)
#2D2B20
Tritanopia (blue-blind)
#530116
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0d22;
/* rgb */ color: rgb(76, 13, 34);
/* oklch */ color: oklch(28.1% 0.094 5.9);
Tailwind
colors: {
  custom: {
    50: '#82525c',
    500: '#4c0d22',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d22;
$custom-light: #82525c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d22",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 34
  },
  "hsl": {
    "h": 340,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28089,
    "c": 0.09397,
    "h": 5.9
  },
  "luminance": 0.0194
}

Semantic roles & 50–950 ramp

primary
#4C0D22
secondary
#2E8769
accent
#EEB23A
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0204
muted
#7C7879

Preview Lab

Preview with #4C0D22

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

Preview Lab → · Contrast checker → · Palette generator →

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