#4C152C#4C152C

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

Color values

HEX#4C152C
RGBrgb(76, 21, 44)
HSLhsl(335, 57%, 19%)
HSVhsv(335, 72%, 30%)
CMYKcmyk(0%, 72.4%, 42.1%, 70.2%)
CIE-LABlab(16.77, 28.25, -1.25)
CIE-LCHlch(16.77, 28.28, 357.46°)
OKLaboklab(29.38% 0.0864 -0.0029)
OKLCHoklch(29.38% 0.086 358.1)
XYZxyz(3.7035, 2.2551, 2.6226)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C152C #154C35
analogous
#4C1548 #4C152C #4C1A15
triadic
#4C152C #2C4C15 #152C4C
tetradic
#4C152C #484C15 #154C35 #1A154C
square
#4C152C #484C15 #154C35 #1A154C
split-complementary
#4C152C #154C1A #15484C
monochromatic
#18070E #1C0810 #4C152C #7C2248 #AC2F64

Accessibility & contrast

On white

14.47
#4C152C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C152C
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C152C#FFFFFF#000000##FFFFFF
##4C152C1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232D
Deuteranopia (green-blind)
#2E2D2B
Tritanopia (blue-blind)
#53101E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c152c;
/* rgb */ color: rgb(76, 21, 44);
/* oklch */ color: oklch(29.4% 0.086 358.1);
Tailwind
colors: {
  custom: {
    50: '#815765',
    500: '#4c152c',
    950: '#000000',
  },
}
SCSS
$custom: #4c152c;
$custom-light: #815765;
$custom-dark: #000000;
JSON
{
  "hex": "#4c152c",
  "rgb": {
    "r": 76,
    "g": 21,
    "b": 44
  },
  "hsl": {
    "h": 334.909,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29383,
    "c": 0.08646,
    "h": 358.1
  },
  "luminance": 0.02255
}

Semantic roles & 50–950 ramp

primary
#4C152C
secondary
#398465
accent
#E0A048
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #4C152C

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

Preview Lab → · Contrast checker → · Palette generator →

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