#4D1C2F#4D1C2F

#4D1C2F is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.7% C 0.077 H 358.4°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#4D1C2F
RGBrgb(77, 28, 47)
HSLhsl(337, 47%, 21%)
HSVhsv(337, 64%, 30%)
CMYKcmyk(0%, 63.6%, 39%, 69.8%)
CIE-LABlab(18.43, 25.37, -0.94)
CIE-LCHlch(18.43, 25.39, 357.88°)
OKLaboklab(30.69% 0.0773 -0.0021)
OKLCHoklch(30.69% 0.077 358.4)
XYZxyz(3.9891, 2.6139, 2.9832)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1C2F #1C4D3A
analogous
#4D1C47 #4D1C2F #4D211C
triadic
#4D1C2F #2F4D1C #1C2F4D
tetradic
#4D1C2F #474D1C #1C4D3A #211C4D
square
#4D1C2F #474D1C #1C4D3A #211C4D
split-complementary
#4D1C2F #1C4D21 #1C474D
monochromatic
#16080E #200C14 #4D1C2F #7A2C4A #A73D66

Accessibility & contrast

On white

13.79
#4D1C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4D1C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1C2F
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1C2F#FFFFFF#000000##FFFFFF
##4D1C2F1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242730
Deuteranopia (green-blind)
#31302E
Tritanopia (blue-blind)
#531823
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4d1c2f;
/* rgb */ color: rgb(77, 28, 47);
/* oklch */ color: oklch(30.7% 0.077 358.4);
Tailwind
colors: {
  custom: {
    50: '#815b67',
    500: '#4d1c2f',
    950: '#000000',
  },
}
SCSS
$custom: #4d1c2f;
$custom-light: #815b67;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1c2f",
  "rgb": {
    "r": 77,
    "g": 28,
    "b": 47
  },
  "hsl": {
    "h": 336.735,
    "s": 46.667,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30685,
    "c": 0.07734,
    "h": 358.4
  },
  "luminance": 0.02614
}

Semantic roles & 50–950 ramp

primary
#4D1C2F
secondary
#42836A
accent
#D6A351
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #4D1C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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