#4A0D39#4A0D39

#4A0D39 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.7% C 0.104 H 341.6°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#4A0D39
RGBrgb(74, 13, 57)
HSLhsl(317, 70%, 17%)
HSVhsv(317, 82%, 29%)
CMYKcmyk(0%, 82.4%, 23%, 71%)
CIE-LABlab(15.69, 32.95, -12.22)
CIE-LCHlch(15.69, 35.14, 339.65°)
OKLaboklab(28.7% 0.0988 -0.0329)
OKLCHoklch(28.7% 0.104 341.6)
XYZxyz(3.7066, 2.0395, 4.0686)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0D39 #0D4A1E
analogous
#3D0D4A #4A0D39 #4A0D1B
triadic
#4A0D39 #394A0D #0D394A
tetradic
#4A0D39 #4A3D0D #0D4A1E #0D1B4A
square
#4A0D39 #4A3D0D #0D4A1E #0D1B4A
split-complementary
#4A0D39 #1B4A0D #0D4A3D
monochromatic
#1A0514 #1A0514 #4A0D39 #7E1661 #B21F89

Accessibility & contrast

On white

14.92
#4A0D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4A0D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0D39
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0D39#FFFFFF#000000##FFFFFF
##4A0D391.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13213A
Deuteranopia (green-blind)
#262B38
Tritanopia (blue-blind)
#4F0E21
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a0d39;
/* rgb */ color: rgb(74, 13, 57);
/* oklch */ color: oklch(28.7% 0.104 341.6);
Tailwind
colors: {
  custom: {
    50: '#7f536f',
    500: '#4a0d39',
    950: '#000000',
  },
}
SCSS
$custom: #4a0d39;
$custom-light: #7f536f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0d39",
  "rgb": {
    "r": 74,
    "g": 13,
    "b": 57
  },
  "hsl": {
    "h": 316.721,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28702,
    "c": 0.10414,
    "h": 341.6
  },
  "luminance": 0.02039
}

Semantic roles & 50–950 ramp

primary
#4A0D39
secondary
#2E8546
accent
#ED6D3B
background
#F8F4F6
surface
#EFE8EC
border
#CAC4C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A0D39

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

Preview Lab → · Contrast checker → · Palette generator →

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