#4C152B#4C152B

#4C152B is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.3% C 0.086 H 359.2°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#4C152B
RGBrgb(76, 21, 43)
HSLhsl(336, 57%, 19%)
HSVhsv(336, 72%, 30%)
CMYKcmyk(0%, 72.4%, 43.4%, 70.2%)
CIE-LABlab(16.74, 28.12, -0.59)
CIE-LCHlch(16.74, 28.12, 358.80°)
OKLaboklab(29.35% 0.086 -0.0012)
OKLCHoklch(29.35% 0.086 359.2)
XYZxyz(3.6849, 2.2477, 2.5248)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C152B #154C36
analogous
#4C1547 #4C152B #4C1B15
triadic
#4C152B #2B4C15 #152B4C
tetradic
#4C152B #474C15 #154C36 #1B154C
square
#4C152B #474C15 #154C36 #1B154C
split-complementary
#4C152B #154C1B #15474C
monochromatic
#18070E #1C0810 #4C152B #7C2246 #AC2F61

Accessibility & contrast

On white

14.49
#4C152B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C152B
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C152B#FFFFFF#000000##FFFFFF
##4C152B1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232C
Deuteranopia (green-blind)
#2E2D2A
Tritanopia (blue-blind)
#530F1E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c152b;
/* rgb */ color: rgb(76, 21, 43);
/* oklch */ color: oklch(29.3% 0.086 359.2);
Tailwind
colors: {
  custom: {
    50: '#815664',
    500: '#4c152b',
    950: '#000000',
  },
}
SCSS
$custom: #4c152b;
$custom-light: #815664;
$custom-dark: #000000;
JSON
{
  "hex": "#4c152b",
  "rgb": {
    "r": 76,
    "g": 21,
    "b": 43
  },
  "hsl": {
    "h": 336,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29345,
    "c": 0.08603,
    "h": 359.2
  },
  "luminance": 0.02247
}

Semantic roles & 50–950 ramp

primary
#4C152B
secondary
#398466
accent
#E0A348
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4C152B

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

Preview Lab → · Contrast checker → · Palette generator →

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