#4D152B#4D152B

#4D152B is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.5% C 0.087 H 359.8°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#4D152B
RGBrgb(77, 21, 43)
HSLhsl(336, 57%, 19%)
HSVhsv(336, 73%, 30%)
CMYKcmyk(0%, 72.7%, 44.2%, 69.8%)
CIE-LABlab(16.94, 28.48, -0.27)
CIE-LCHlch(16.94, 28.48, 359.45°)
OKLaboklab(29.53% 0.0871 -0.0004)
OKLCHoklch(29.53% 0.087 359.8)
XYZxyz(3.7650, 2.2890, 2.5286)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D152B #154D37
analogous
#4D1547 #4D152B #4D1B15
triadic
#4D152B #2B4D15 #152B4D
tetradic
#4D152B #474D15 #154D37 #1B154D
square
#4D152B #474D15 #154D37 #1B154D
split-complementary
#4D152B #154D1B #15474D
monochromatic
#18070D #1D0810 #4D152B #7D2246 #AD2F61

Accessibility & contrast

On white

14.41
#4D152B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4D152B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D152B
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D152B#FFFFFF#000000##FFFFFF
##4D152B1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20232C
Deuteranopia (green-blind)
#2F2E2A
Tritanopia (blue-blind)
#540F1E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d152b;
/* rgb */ color: rgb(77, 21, 43);
/* oklch */ color: oklch(29.5% 0.087 359.8);
Tailwind
colors: {
  custom: {
    50: '#825764',
    500: '#4d152b',
    950: '#000000',
  },
}
SCSS
$custom: #4d152b;
$custom-light: #825764;
$custom-dark: #000000;
JSON
{
  "hex": "#4d152b",
  "rgb": {
    "r": 77,
    "g": 21,
    "b": 43
  },
  "hsl": {
    "h": 336.429,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2953,
    "c": 0.08713,
    "h": 359.8
  },
  "luminance": 0.02289
}

Semantic roles & 50–950 ramp

primary
#4D152B
secondary
#398567
accent
#E0A447
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4D152B

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

Preview Lab → · Contrast checker → · Palette generator →

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