#4A152F#4A152F

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

Color values

HEX#4A152F
RGBrgb(74, 21, 47)
HSLhsl(331, 56%, 19%)
HSVhsv(331, 72%, 29%)
CMYKcmyk(0%, 71.6%, 36.5%, 71%)
CIE-LABlab(16.49, 27.95, -3.86)
CIE-LCHlch(16.49, 28.21, 352.13°)
OKLaboklab(29.14% 0.0853 -0.0099)
OKLCHoklch(29.14% 0.086 353.4)
XYZxyz(3.6055, 2.1978, 2.9231)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A152F #154A30
analogous
#4A1549 #4A152F #4A1515
triadic
#4A152F #2F4A15 #152F4A
tetradic
#4A152F #494A15 #154A30 #15154A
square
#4A152F #494A15 #154A30 #15154A
split-complementary
#4A152F #154A15 #15494A
monochromatic
#18070F #1A0711 #4A152F #7A234D #A9306C

Accessibility & contrast

On white

14.59
#4A152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4A152F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A152F
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A152F#FFFFFF#000000##FFFFFF
##4A152F1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2330
Deuteranopia (green-blind)
#2C2C2E
Tritanopia (blue-blind)
#501120
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a152f;
/* rgb */ color: rgb(74, 21, 47);
/* oklch */ color: oklch(29.1% 0.086 353.4);
Tailwind
colors: {
  custom: {
    50: '#7f5667',
    500: '#4a152f',
    950: '#000000',
  },
}
SCSS
$custom: #4a152f;
$custom-light: #7f5667;
$custom-dark: #000000;
JSON
{
  "hex": "#4a152f",
  "rgb": {
    "r": 74,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 330.566,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29138,
    "c": 0.08583,
    "h": 353.4
  },
  "luminance": 0.02197
}

Semantic roles & 50–950 ramp

primary
#4A152F
secondary
#39825E
accent
#DF9549
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0A0306
muted
#7C787A

Preview Lab

Preview with #4A152F

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

Preview Lab → · Contrast checker → · Palette generator →

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