#4D0C2F#4D0C2F

#4D0C2F is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.7% C 0.101 H 352.8°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#4D0C2F
RGBrgb(77, 12, 47)
HSLhsl(328, 73%, 17%)
HSVhsv(328, 84%, 30%)
CMYKcmyk(0%, 84.4%, 39%, 69.8%)
CIE-LABlab(15.73, 32.78, -4.94)
CIE-LCHlch(15.73, 33.15, 351.42°)
OKLaboklab(28.69% 0.1006 -0.0127)
OKLCHoklch(28.69% 0.101 352.8)
XYZxyz(3.7054, 2.0464, 2.8886)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C2F #0C4D2A
analogous
#4A0C4D #4D0C2F #4D0C0F
triadic
#4D0C2F #2F4D0C #0C2F4D
tetradic
#4D0C2F #4D4A0C #0C4D2A #0C0F4D
square
#4D0C2F #4D4A0C #0C4D2A #0C0F4D
split-complementary
#4D0C2F #0F4D0C #0C4D4A
monochromatic
#1A0410 #1A0410 #4D0C2F #82144F #B71D70

Accessibility & contrast

On white

14.90
#4D0C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4D0C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0C2F
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C2F#FFFFFF#000000##FFFFFF
##4D0C2F1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182030
Deuteranopia (green-blind)
#2B2B2E
Tritanopia (blue-blind)
#54061C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4d0c2f;
/* rgb */ color: rgb(77, 12, 47);
/* oklch */ color: oklch(28.7% 0.101 352.8);
Tailwind
colors: {
  custom: {
    50: '#825367',
    500: '#4d0c2f',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c2f;
$custom-light: #825367;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c2f",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 327.692,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28693,
    "c": 0.10137,
    "h": 352.8
  },
  "luminance": 0.02046
}

Semantic roles & 50–950 ramp

primary
#4D0C2F
secondary
#2C8957
accent
#F08D38
background
#F8F4F6
surface
#EFE7EB
border
#CAC3C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4D0C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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