#4D0C21#4D0C21

#4D0C21 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.2% C 0.096 H 7.0°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#4D0C21
RGBrgb(77, 12, 33)
HSLhsl(341, 73%, 17%)
HSVhsv(341, 84%, 30%)
CMYKcmyk(0%, 84.4%, 57.1%, 69.8%)
CIE-LABlab(15.23, 31.22, 4.52)
CIE-LCHlch(15.23, 31.54, 8.25°)
OKLaboklab(28.16% 0.0952 0.0117)
OKLCHoklch(28.16% 0.096 7)
XYZxyz(3.4669, 1.9510, 1.6326)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C21 #0C4D38
analogous
#4D0C42 #4D0C21 #4D170C
triadic
#4D0C21 #214D0C #0C214D
tetradic
#4D0C21 #424D0C #0C4D38 #170C4D
square
#4D0C21 #424D0C #0C4D38 #170C4D
split-complementary
#4D0C21 #0C4D17 #0C424D
monochromatic
#1A040B #1A040B #4D0C21 #821438 #B71D4E

Accessibility & contrast

On white

15.11
#4D0C21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0C21
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C21#FFFFFF#000000##FFFFFF
##4D0C211.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d0c21;
/* rgb */ color: rgb(77, 12, 33);
/* oklch */ color: oklch(28.2% 0.096 7.0);
Tailwind
colors: {
  custom: {
    50: '#83525b',
    500: '#4d0c21',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c21;
$custom-light: #83525b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c21",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 33
  },
  "hsl": {
    "h": 340.615,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28161,
    "c": 0.09593,
    "h": 7
  },
  "luminance": 0.01951
}

Semantic roles & 50–950 ramp

primary
#4D0C21
secondary
#2C896B
accent
#F0B438
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0B0204
muted
#7C7879

Preview Lab

Preview with #4D0C21

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

Preview Lab → · Contrast checker → · Palette generator →

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