#4D152A#4D152A

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

Color values

HEX#4D152A
RGBrgb(77, 21, 42)
HSLhsl(338, 57%, 19%)
HSVhsv(338, 73%, 30%)
CMYKcmyk(0%, 72.7%, 45.5%, 69.8%)
CIE-LABlab(16.90, 28.35, 0.39)
CIE-LCHlch(16.90, 28.36, 0.79°)
OKLaboklab(29.49% 0.0867 0.0014)
OKLCHoklch(29.49% 0.087 0.9)
XYZxyz(3.7469, 2.2817, 2.4331)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D152A #154D38
analogous
#4D1546 #4D152A #4D1C15
triadic
#4D152A #2A4D15 #152A4D
tetradic
#4D152A #464D15 #154D38 #1C154D
square
#4D152A #464D15 #154D38 #1C154D
split-complementary
#4D152A #154D1C #15464D
monochromatic
#18070D #1D0810 #4D152A #7D2244 #AD2F5E

Accessibility & contrast

On white

14.42
#4D152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D152A
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D152A#FFFFFF#000000##FFFFFF
##4D152A1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20232B
Deuteranopia (green-blind)
#2F2E29
Tritanopia (blue-blind)
#540E1D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d152a;
/* rgb */ color: rgb(77, 21, 42);
/* oklch */ color: oklch(29.5% 0.087 0.9);
Tailwind
colors: {
  custom: {
    50: '#825763',
    500: '#4d152a',
    950: '#000000',
  },
}
SCSS
$custom: #4d152a;
$custom-light: #825763;
$custom-dark: #000000;
JSON
{
  "hex": "#4d152a",
  "rgb": {
    "r": 77,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 337.5,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29493,
    "c": 0.08674,
    "h": 0.9
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#4D152A
secondary
#398568
accent
#E0A747
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4D152A

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

Preview Lab → · Contrast checker → · Palette generator →

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