#4D0C2B#4D0C2B

#4D0C2B is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.5% C 0.099 H 356.8°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#4D0C2B
RGBrgb(77, 12, 43)
HSLhsl(331, 73%, 17%)
HSVhsv(331, 84%, 30%)
CMYKcmyk(0%, 84.4%, 44.2%, 69.8%)
CIE-LABlab(15.57, 32.28, -2.29)
CIE-LCHlch(15.57, 32.36, 355.95°)
OKLaboklab(28.52% 0.0992 -0.0056)
OKLCHoklch(28.52% 0.099 356.8)
XYZxyz(3.6283, 2.0156, 2.4830)
Luminance0.0202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C2B #0C4D2E
analogous
#4D0C4B #4D0C2B #4D0E0C
triadic
#4D0C2B #2B4D0C #0C2B4D
tetradic
#4D0C2B #4B4D0C #0C4D2E #0E0C4D
square
#4D0C2B #4B4D0C #0C4D2E #0E0C4D
split-complementary
#4D0C2B #0C4D0E #0C4B4D
monochromatic
#1A040F #1A040F #4D0C2B #821449 #B71D66

Accessibility & contrast

On white

14.97
#4D0C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#4D0C2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0C2B
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C2B#FFFFFF#000000##FFFFFF
##4D0C2B1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1F2C
Deuteranopia (green-blind)
#2C2B2A
Tritanopia (blue-blind)
#54041A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4d0c2b;
/* rgb */ color: rgb(77, 12, 43);
/* oklch */ color: oklch(28.5% 0.099 356.8);
Tailwind
colors: {
  custom: {
    50: '#825264',
    500: '#4d0c2b',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c2b;
$custom-light: #825264;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c2b",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 43
  },
  "hsl": {
    "h": 331.385,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28523,
    "c": 0.09938,
    "h": 356.8
  },
  "luminance": 0.02015
}

Semantic roles & 50–950 ramp

primary
#4D0C2B
secondary
#2C895D
accent
#F09838
background
#F8F4F5
surface
#EFE7EA
border
#CAC3C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4D0C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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