#4C152E#4C152E

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

Color values

HEX#4C152E
RGBrgb(76, 21, 46)
HSLhsl(333, 57%, 19%)
HSVhsv(333, 72%, 30%)
CMYKcmyk(0%, 72.4%, 39.5%, 70.2%)
CIE-LABlab(16.85, 28.51, -2.58)
CIE-LCHlch(16.85, 28.63, 354.83°)
OKLaboklab(29.46% 0.0872 -0.0064)
OKLCHoklch(29.46% 0.087 355.8)
XYZxyz(3.7420, 2.2705, 2.8254)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C152E #154C33
analogous
#4C154A #4C152E #4C1815
triadic
#4C152E #2E4C15 #152E4C
tetradic
#4C152E #4A4C15 #154C33 #18154C
square
#4C152E #4A4C15 #154C33 #18154C
split-complementary
#4C152E #154C18 #154A4C
monochromatic
#18070F #1C0811 #4C152E #7C224B #AC2F68

Accessibility & contrast

On white

14.44
#4C152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C152E
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C152E#FFFFFF#000000##FFFFFF
##4C152E1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E232F
Deuteranopia (green-blind)
#2D2D2D
Tritanopia (blue-blind)
#52101F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c152e;
/* rgb */ color: rgb(76, 21, 46);
/* oklch */ color: oklch(29.5% 0.087 355.8);
Tailwind
colors: {
  custom: {
    50: '#815766',
    500: '#4c152e',
    950: '#000000',
  },
}
SCSS
$custom: #4c152e;
$custom-light: #815766;
$custom-dark: #000000;
JSON
{
  "hex": "#4c152e",
  "rgb": {
    "r": 76,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 332.727,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29463,
    "c": 0.08741,
    "h": 355.8
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#4C152E
secondary
#398462
accent
#E09B48
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4C152E

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

Preview Lab → · Contrast checker → · Palette generator →

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