#4D152F#4D152F

#4D152F is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.089 H 355.3°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#4D152F
RGBrgb(77, 21, 47)
HSLhsl(332, 57%, 19%)
HSVhsv(332, 73%, 30%)
CMYKcmyk(0%, 72.7%, 39%, 69.8%)
CIE-LABlab(17.08, 29.00, -2.92)
CIE-LCHlch(17.08, 29.14, 354.25°)
OKLaboklab(29.69% 0.0887 -0.0073)
OKLCHoklch(29.69% 0.089 355.3)
XYZxyz(3.8420, 2.3198, 2.9342)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D152F #154D33
analogous
#4D154B #4D152F #4D1715
triadic
#4D152F #2F4D15 #152F4D
tetradic
#4D152F #4B4D15 #154D33 #17154D
square
#4D152F #4B4D15 #154D33 #17154D
split-complementary
#4D152F #154D17 #154B4D
monochromatic
#18070F #1D0812 #4D152F #7D224C #AD2F6A

Accessibility & contrast

On white

14.35
#4D152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D152F
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D152F#FFFFFF#000000##FFFFFF
##4D152F1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2330
Deuteranopia (green-blind)
#2E2E2E
Tritanopia (blue-blind)
#531020
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d152f;
/* rgb */ color: rgb(77, 21, 47);
/* oklch */ color: oklch(29.7% 0.089 355.3);
Tailwind
colors: {
  custom: {
    50: '#825767',
    500: '#4d152f',
    950: '#000000',
  },
}
SCSS
$custom: #4d152f;
$custom-light: #825767;
$custom-dark: #000000;
JSON
{
  "hex": "#4d152f",
  "rgb": {
    "r": 77,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 332.143,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29687,
    "c": 0.08896,
    "h": 355.3
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#4D152F
secondary
#398562
accent
#E09947
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4D152F

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

Preview Lab → · Contrast checker → · Palette generator →

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