#4C152D#4C152D

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

Color values

HEX#4C152D
RGBrgb(76, 21, 45)
HSLhsl(334, 57%, 19%)
HSVhsv(334, 72%, 30%)
CMYKcmyk(0%, 72.4%, 40.8%, 70.2%)
CIE-LABlab(16.81, 28.38, -1.92)
CIE-LCHlch(16.81, 28.44, 356.13°)
OKLaboklab(29.42% 0.0868 -0.0047)
OKLCHoklch(29.42% 0.087 356.9)
XYZxyz(3.7225, 2.2627, 2.7228)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C152D #154C34
analogous
#4C1549 #4C152D #4C1915
triadic
#4C152D #2D4C15 #152D4C
tetradic
#4C152D #494C15 #154C34 #19154C
square
#4C152D #494C15 #154C34 #19154C
split-complementary
#4C152D #154C19 #15494C
monochromatic
#18070E #1C0811 #4C152D #7C2249 #AC2F66

Accessibility & contrast

On white

14.46
#4C152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4C152D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C152D
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C152D#FFFFFF#000000##FFFFFF
##4C152D1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232E
Deuteranopia (green-blind)
#2E2D2C
Tritanopia (blue-blind)
#53101F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c152d;
/* rgb */ color: rgb(76, 21, 45);
/* oklch */ color: oklch(29.4% 0.087 356.9);
Tailwind
colors: {
  custom: {
    50: '#815765',
    500: '#4c152d',
    950: '#000000',
  },
}
SCSS
$custom: #4c152d;
$custom-light: #815765;
$custom-dark: #000000;
JSON
{
  "hex": "#4c152d",
  "rgb": {
    "r": 76,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 333.818,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29423,
    "c": 0.08693,
    "h": 356.9
  },
  "luminance": 0.02262
}

Semantic roles & 50–950 ramp

primary
#4C152D
secondary
#398463
accent
#E09E48
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #4C152D

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

Preview Lab → · Contrast checker → · Palette generator →

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