#4D0C1F#4D0C1F

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

Color values

HEX#4D0C1F
RGBrgb(77, 12, 31)
HSLhsl(342, 73%, 17%)
HSVhsv(342, 84%, 30%)
CMYKcmyk(0%, 84.4%, 59.7%, 69.8%)
CIE-LABlab(15.17, 31.03, 5.91)
CIE-LCHlch(15.17, 31.59, 10.78°)
OKLaboklab(28.1% 0.0943 0.015)
OKLCHoklch(28.1% 0.096 9.1)
XYZxyz(3.4397, 1.9401, 1.4894)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C1F #0C4D3A
analogous
#4D0C3F #4D0C1F #4D1A0C
triadic
#4D0C1F #1F4D0C #0C1F4D
tetradic
#4D0C1F #3F4D0C #0C4D3A #1A0C4D
square
#4D0C1F #3F4D0C #0C4D3A #1A0C4D
split-complementary
#4D0C1F #0C4D1A #0C3F4D
monochromatic
#1A040B #1A040B #4D0C1F #821434 #B71D4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D0C1F#FFFFFF#000000##FFFFFF
##4D0C1F1.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)
#1D1E1F
Deuteranopia (green-blind)
#2E2B1D
Tritanopia (blue-blind)
#550014
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4d0c1f;
/* rgb */ color: rgb(77, 12, 31);
/* oklch */ color: oklch(28.1% 0.096 9.1);
Tailwind
colors: {
  custom: {
    50: '#83525a',
    500: '#4d0c1f',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c1f;
$custom-light: #83525a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c1f",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 31
  },
  "hsl": {
    "h": 342.462,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.281,
    "c": 0.09551,
    "h": 9.1
  },
  "luminance": 0.0194
}

Semantic roles & 50–950 ramp

primary
#4D0C1F
secondary
#2C896E
accent
#F0BA38
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0B0203
muted
#7C7878

Preview Lab

Preview with #4D0C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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