#4A152A#4A152A

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

Color values

HEX#4A152A
RGBrgb(74, 21, 42)
HSLhsl(336, 56%, 19%)
HSVhsv(336, 72%, 29%)
CMYKcmyk(0%, 71.6%, 43.2%, 71%)
CIE-LABlab(16.30, 27.27, -0.55)
CIE-LCHlch(16.30, 27.27, 358.84°)
OKLaboklab(28.94% 0.0834 -0.0011)
OKLCHoklch(28.94% 0.083 359.2)
XYZxyz(3.5103, 2.1597, 2.4221)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A152A #154A35
analogous
#4A1544 #4A152A #4A1A15
triadic
#4A152A #2A4A15 #152A4A
tetradic
#4A152A #444A15 #154A35 #1A154A
square
#4A152A #444A15 #154A35 #1A154A
split-complementary
#4A152A #154A1A #15444A
monochromatic
#18070E #1A070F #4A152A #7A2345 #A93060

Accessibility & contrast

On white

14.67
#4A152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4A152A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A152A
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A152A#FFFFFF#000000##FFFFFF
##4A152A1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F222B
Deuteranopia (green-blind)
#2D2C29
Tritanopia (blue-blind)
#51101D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a152a;
/* rgb */ color: rgb(74, 21, 42);
/* oklch */ color: oklch(28.9% 0.083 359.2);
Tailwind
colors: {
  custom: {
    50: '#7f5663',
    500: '#4a152a',
    950: '#000000',
  },
}
SCSS
$custom: #4a152a;
$custom-light: #7f5663;
$custom-dark: #000000;
JSON
{
  "hex": "#4a152a",
  "rgb": {
    "r": 74,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 336.226,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28937,
    "c": 0.08339,
    "h": 359.2
  },
  "luminance": 0.02159
}

Semantic roles & 50–950 ramp

primary
#4A152A
secondary
#398265
accent
#DFA449
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0A0305
muted
#7C7879

Preview Lab

Preview with #4A152A

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

Preview Lab → · Contrast checker → · Palette generator →

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