#4C0B21#4C0B21

#4C0B21 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.9% C 0.096 H 6.2°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#4C0B21
RGBrgb(76, 11, 33)
HSLhsl(340, 75%, 17%)
HSVhsv(340, 86%, 30%)
CMYKcmyk(0%, 85.5%, 56.6%, 70.2%)
CIE-LABlab(14.88, 31.25, 4.00)
CIE-LCHlch(14.88, 31.50, 7.29°)
OKLaboklab(27.86% 0.0954 0.0104)
OKLCHoklch(27.86% 0.096 6.2)
XYZxyz(3.3750, 1.8861, 1.6249)
Luminance0.0189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0B21 #0B4C36
analogous
#4C0B42 #4C0B21 #4C150B
triadic
#4C0B21 #214C0B #0B214C
tetradic
#4C0B21 #424C0B #0B4C36 #150B4C
square
#4C0B21 #424C0B #0B4C36 #150B4C
split-complementary
#4C0B21 #0B4C15 #0B424C
monochromatic
#1B040C #1B040C #4C0B21 #811338 #B71A4F

Accessibility & contrast

On white

15.25
#4C0B21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0B21
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0B21#FFFFFF#000000##FFFFFF
##4C0B211.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1D21
Deuteranopia (green-blind)
#2D2A1F
Tritanopia (blue-blind)
#540015
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #4c0b21;
/* rgb */ color: rgb(76, 11, 33);
/* oklch */ color: oklch(27.9% 0.096 6.2);
Tailwind
colors: {
  custom: {
    50: '#82525b',
    500: '#4c0b21',
    950: '#000000',
  },
}
SCSS
$custom: #4c0b21;
$custom-light: #82525b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0b21",
  "rgb": {
    "r": 76,
    "g": 11,
    "b": 33
  },
  "hsl": {
    "h": 339.692,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27863,
    "c": 0.09599,
    "h": 6.2
  },
  "luminance": 0.01886
}

Semantic roles & 50–950 ramp

primary
#4C0B21
secondary
#2B8869
accent
#F1B236
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0204
muted
#7C7879

Preview Lab

Preview with #4C0B21

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

Preview Lab → · Contrast checker → · Palette generator →

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