#4C0C22#4C0C22

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

Color values

HEX#4C0C22
RGBrgb(76, 12, 34)
HSLhsl(339, 73%, 17%)
HSVhsv(339, 84%, 30%)
CMYKcmyk(0%, 84.2%, 55.3%, 70.2%)
CIE-LABlab(15.04, 30.98, 3.49)
CIE-LCHlch(15.04, 31.18, 6.42°)
OKLaboklab(27.99% 0.0947 0.0092)
OKLCHoklch(27.99% 0.095 5.5)
XYZxyz(3.4010, 1.9154, 1.7037)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0C22 #0C4C36
analogous
#4C0C42 #4C0C22 #4C160C
triadic
#4C0C22 #224C0C #0C224C
tetradic
#4C0C22 #424C0C #0C4C36 #160C4C
square
#4C0C22 #424C0C #0C4C36 #160C4C
split-complementary
#4C0C22 #0C4C16 #0C424C
monochromatic
#1A040C #1A040C #4C0C22 #81143A #B61D51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C0C22#FFFFFF#000000##FFFFFF
##4C0C221.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)
#1C1E22
Deuteranopia (green-blind)
#2D2A20
Tritanopia (blue-blind)
#540015
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0c22;
/* rgb */ color: rgb(76, 12, 34);
/* oklch */ color: oklch(28.0% 0.095 5.5);
Tailwind
colors: {
  custom: {
    50: '#82525c',
    500: '#4c0c22',
    950: '#000000',
  },
}
SCSS
$custom: #4c0c22;
$custom-light: #82525c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0c22",
  "rgb": {
    "r": 76,
    "g": 12,
    "b": 34
  },
  "hsl": {
    "h": 339.375,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2799,
    "c": 0.09513,
    "h": 5.5
  },
  "luminance": 0.01915
}

Semantic roles & 50–950 ramp

primary
#4C0C22
secondary
#2C8868
accent
#EFB138
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0204
muted
#7C7879

Preview Lab

Preview with #4C0C22

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

Preview Lab → · Contrast checker → · Palette generator →

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