#4D152C#4D152C

#4D152C is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.6% C 0.088 H 358.6°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#4D152C
RGBrgb(77, 21, 44)
HSLhsl(335, 57%, 19%)
HSVhsv(335, 73%, 30%)
CMYKcmyk(0%, 72.7%, 42.9%, 69.8%)
CIE-LABlab(16.97, 28.60, -0.94)
CIE-LCHlch(16.97, 28.62, 358.12°)
OKLaboklab(29.57% 0.0875 -0.0021)
OKLCHoklch(29.57% 0.088 358.6)
XYZxyz(3.7836, 2.2964, 2.6264)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D152C #154D36
analogous
#4D1548 #4D152C #4D1A15
triadic
#4D152C #2C4D15 #152C4D
tetradic
#4D152C #484D15 #154D36 #1A154D
square
#4D152C #484D15 #154D36 #1A154D
split-complementary
#4D152C #154D1A #15484D
monochromatic
#18070E #1D0811 #4D152C #7D2247 #AD2F63

Accessibility & contrast

On white

14.39
#4D152C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D152C
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D152C#FFFFFF#000000##FFFFFF
##4D152C1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232D
Deuteranopia (green-blind)
#2F2E2B
Tritanopia (blue-blind)
#540F1E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d152c;
/* rgb */ color: rgb(77, 21, 44);
/* oklch */ color: oklch(29.6% 0.088 358.6);
Tailwind
colors: {
  custom: {
    50: '#825765',
    500: '#4d152c',
    950: '#000000',
  },
}
SCSS
$custom: #4d152c;
$custom-light: #825765;
$custom-dark: #000000;
JSON
{
  "hex": "#4d152c",
  "rgb": {
    "r": 77,
    "g": 21,
    "b": 44
  },
  "hsl": {
    "h": 335.357,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29568,
    "c": 0.08756,
    "h": 358.6
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#4D152C
secondary
#398566
accent
#E0A247
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #4D152C

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

Preview Lab → · Contrast checker → · Palette generator →

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