#4A152B#4A152B

#4A152B is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.0% C 0.084 H 358.1°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#4A152B
RGBrgb(74, 21, 43)
HSLhsl(335, 56%, 19%)
HSVhsv(335, 72%, 29%)
CMYKcmyk(0%, 71.6%, 41.9%, 71%)
CIE-LABlab(16.34, 27.40, -1.22)
CIE-LCHlch(16.34, 27.43, 357.45°)
OKLaboklab(28.98% 0.0838 -0.0028)
OKLCHoklch(28.98% 0.084 358.1)
XYZxyz(3.5285, 2.1670, 2.5175)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A152B #154A34
analogous
#4A1545 #4A152B #4A1915
triadic
#4A152B #2B4A15 #152B4A
tetradic
#4A152B #454A15 #154A34 #19154A
square
#4A152B #454A15 #154A34 #19154A
split-complementary
#4A152B #154A19 #15454A
monochromatic
#18070E #1A070F #4A152B #7A2347 #A93062

Accessibility & contrast

On white

14.65
#4A152B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A152B
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A152B#FFFFFF#000000##FFFFFF
##4A152B1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F222C
Deuteranopia (green-blind)
#2D2C2A
Tritanopia (blue-blind)
#50101E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a152b;
/* rgb */ color: rgb(74, 21, 43);
/* oklch */ color: oklch(29.0% 0.084 358.1);
Tailwind
colors: {
  custom: {
    50: '#7f5664',
    500: '#4a152b',
    950: '#000000',
  },
}
SCSS
$custom: #4a152b;
$custom-light: #7f5664;
$custom-dark: #000000;
JSON
{
  "hex": "#4a152b",
  "rgb": {
    "r": 74,
    "g": 21,
    "b": 43
  },
  "hsl": {
    "h": 335.094,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28975,
    "c": 0.08383,
    "h": 358.1
  },
  "luminance": 0.02167
}

Semantic roles & 50–950 ramp

primary
#4A152B
secondary
#398264
accent
#DFA149
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0A0305
muted
#7C7879

Preview Lab

Preview with #4A152B

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

Preview Lab → · Contrast checker → · Palette generator →

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