#4A0D38#4A0D38

#4A0D38 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.6% C 0.103 H 342.5°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#4A0D38
RGBrgb(74, 13, 56)
HSLhsl(318, 70%, 17%)
HSVhsv(318, 82%, 29%)
CMYKcmyk(0%, 82.4%, 24.3%, 71%)
CIE-LABlab(15.64, 32.79, -11.59)
CIE-LCHlch(15.64, 34.78, 340.54°)
OKLaboklab(28.65% 0.0986 -0.0311)
OKLCHoklch(28.65% 0.103 342.5)
XYZxyz(3.6819, 2.0296, 3.9385)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0D38 #0D4A1F
analogous
#3E0D4A #4A0D38 #4A0D1A
triadic
#4A0D38 #384A0D #0D384A
tetradic
#4A0D38 #4A3E0D #0D4A1F #0D1A4A
square
#4A0D38 #4A3E0D #0D4A1F #0D1A4A
split-complementary
#4A0D38 #1A4A0D #0D4A3E
monochromatic
#1A0514 #1A0514 #4A0D38 #7E165F #B21F87

Accessibility & contrast

On white

14.94
#4A0D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0D38
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0D38#FFFFFF#000000##FFFFFF
##4A0D381.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132139
Deuteranopia (green-blind)
#262B37
Tritanopia (blue-blind)
#4F0E21
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a0d38;
/* rgb */ color: rgb(74, 13, 56);
/* oklch */ color: oklch(28.6% 0.103 342.5);
Tailwind
colors: {
  custom: {
    50: '#7f536e',
    500: '#4a0d38',
    950: '#000000',
  },
}
SCSS
$custom: #4a0d38;
$custom-light: #7f536e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0d38",
  "rgb": {
    "r": 74,
    "g": 13,
    "b": 56
  },
  "hsl": {
    "h": 317.705,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28648,
    "c": 0.10341,
    "h": 342.5
  },
  "luminance": 0.02029
}

Semantic roles & 50–950 ramp

primary
#4A0D38
secondary
#2E8547
accent
#ED6F3B
background
#F8F4F6
surface
#EFE8EC
border
#CAC4C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A0D38

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

Preview Lab → · Contrast checker → · Palette generator →

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