#4D152D#4D152D

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

Color values

HEX#4D152D
RGBrgb(77, 21, 45)
HSLhsl(334, 57%, 19%)
HSVhsv(334, 73%, 30%)
CMYKcmyk(0%, 72.7%, 41.6%, 69.8%)
CIE-LABlab(17.01, 28.73, -1.60)
CIE-LCHlch(17.01, 28.78, 356.81°)
OKLaboklab(29.61% 0.0879 -0.0038)
OKLCHoklch(29.61% 0.088 357.5)
XYZxyz(3.8026, 2.3040, 2.7266)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D152D #154D35
analogous
#4D1549 #4D152D #4D1915
triadic
#4D152D #2D4D15 #152D4D
tetradic
#4D152D #494D15 #154D35 #19154D
square
#4D152D #494D15 #154D35 #19154D
split-complementary
#4D152D #154D19 #15494D
monochromatic
#18070E #1D0811 #4D152D #7D2249 #AD2F65

Accessibility & contrast

On white

14.38
#4D152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D152D
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D152D#FFFFFF#000000##FFFFFF
##4D152D1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232E
Deuteranopia (green-blind)
#2E2E2C
Tritanopia (blue-blind)
#54101F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d152d;
/* rgb */ color: rgb(77, 21, 45);
/* oklch */ color: oklch(29.6% 0.088 357.5);
Tailwind
colors: {
  custom: {
    50: '#825765',
    500: '#4d152d',
    950: '#000000',
  },
}
SCSS
$custom: #4d152d;
$custom-light: #825765;
$custom-dark: #000000;
JSON
{
  "hex": "#4d152d",
  "rgb": {
    "r": 77,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 334.286,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29607,
    "c": 0.08799,
    "h": 357.5
  },
  "luminance": 0.02304
}

Semantic roles & 50–950 ramp

primary
#4D152D
secondary
#398564
accent
#E09F47
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #4D152D

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

Preview Lab → · Contrast checker → · Palette generator →

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