#4A0C38#4A0C38

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

Color values

HEX#4A0C38
RGBrgb(74, 12, 56)
HSLhsl(317, 72%, 17%)
HSVhsv(317, 84%, 29%)
CMYKcmyk(0%, 83.8%, 24.3%, 71%)
CIE-LABlab(15.51, 33.16, -11.79)
CIE-LCHlch(15.51, 35.20, 340.43°)
OKLaboklab(28.55% 0.0998 -0.0316)
OKLCHoklch(28.55% 0.105 342.4)
XYZxyz(3.6695, 2.0047, 3.9343)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0C38 #0C4A1E
analogous
#3D0C4A #4A0C38 #4A0C19
triadic
#4A0C38 #384A0C #0C384A
tetradic
#4A0C38 #4A3D0C #0C4A1E #0C194A
square
#4A0C38 #4A3D0C #0C4A1E #0C194A
split-complementary
#4A0C38 #194A0C #0C4A3D
monochromatic
#1A0414 #1A0414 #4A0C38 #7F1560 #B31D88

Accessibility & contrast

On white

14.99
#4A0C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0C38
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0C38#FFFFFF#000000##FFFFFF
##4A0C381.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122039
Deuteranopia (green-blind)
#262A37
Tritanopia (blue-blind)
#4F0D21
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a0c38;
/* rgb */ color: rgb(74, 12, 56);
/* oklch */ color: oklch(28.6% 0.105 342.4);
Tailwind
colors: {
  custom: {
    50: '#7f526e',
    500: '#4a0c38',
    950: '#000000',
  },
}
SCSS
$custom: #4a0c38;
$custom-light: #7f526e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0c38",
  "rgb": {
    "r": 74,
    "g": 12,
    "b": 56
  },
  "hsl": {
    "h": 317.419,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28554,
    "c": 0.10465,
    "h": 342.4
  },
  "luminance": 0.02004
}

Semantic roles & 50–950 ramp

primary
#4A0C38
secondary
#2C8646
accent
#EF6E39
background
#F8F4F6
surface
#EFE7EC
border
#CAC3C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A0C38

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

Preview Lab → · Contrast checker → · Palette generator →

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