#4A0D36#4A0D36

#4A0D36 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.5% C 0.102 H 344.4°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#4A0D36
RGBrgb(74, 13, 54)
HSLhsl(320, 70%, 17%)
HSVhsv(320, 82%, 29%)
CMYKcmyk(0%, 82.4%, 27%, 71%)
CIE-LABlab(15.54, 32.49, -10.32)
CIE-LCHlch(15.54, 34.09, 342.38°)
OKLaboklab(28.54% 0.0982 -0.0275)
OKLCHoklch(28.54% 0.102 344.4)
XYZxyz(3.6340, 2.0104, 3.6860)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0D36 #0D4A21
analogous
#400D4A #4A0D36 #4A0D18
triadic
#4A0D36 #364A0D #0D364A
tetradic
#4A0D36 #4A400D #0D4A21 #0D184A
square
#4A0D36 #4A400D #0D4A21 #0D184A
split-complementary
#4A0D36 #184A0D #0D4A40
monochromatic
#1A0513 #1A0513 #4A0D36 #7E165C #B21F82

Accessibility & contrast

On white

14.98
#4A0D36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#4A0D36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0D36
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0D36#FFFFFF#000000##FFFFFF
##4A0D361.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142037
Deuteranopia (green-blind)
#272A35
Tritanopia (blue-blind)
#4F0C20
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a0d36;
/* rgb */ color: rgb(74, 13, 54);
/* oklch */ color: oklch(28.5% 0.102 344.4);
Tailwind
colors: {
  custom: {
    50: '#7f536d',
    500: '#4a0d36',
    950: '#000000',
  },
}
SCSS
$custom: #4a0d36;
$custom-light: #7f536d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0d36",
  "rgb": {
    "r": 74,
    "g": 13,
    "b": 54
  },
  "hsl": {
    "h": 319.672,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28543,
    "c": 0.10199,
    "h": 344.4
  },
  "luminance": 0.0201
}

Semantic roles & 50–950 ramp

primary
#4A0D36
secondary
#2E854A
accent
#ED753B
background
#F8F4F6
surface
#EFE7EB
border
#CAC3C6
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A0D36

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

Preview Lab → · Contrast checker → · Palette generator →

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