#4A0C3A#4A0C3A

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

Color values

HEX#4A0C3A
RGBrgb(74, 12, 58)
HSLhsl(315, 72%, 17%)
HSVhsv(315, 84%, 29%)
CMYKcmyk(0%, 83.8%, 21.6%, 71%)
CIE-LABlab(15.62, 33.47, -13.05)
CIE-LCHlch(15.62, 35.93, 338.70°)
OKLaboklab(28.66% 0.1001 -0.0352)
OKLCHoklch(28.66% 0.106 340.6)
XYZxyz(3.7193, 2.0247, 4.1971)
Luminance0.0202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0C3A #0C4A1C
analogous
#3B0C4A #4A0C3A #4A0C1B
triadic
#4A0C3A #3A4A0C #0C3A4A
tetradic
#4A0C3A #4A3B0C #0C4A1C #0C1B4A
square
#4A0C3A #4A3B0C #0C4A1C #0C1B4A
split-complementary
#4A0C3A #1B4A0C #0C4A3B
monochromatic
#1A0415 #1A0415 #4A0C3A #7F1563 #B31D8D

Accessibility & contrast

On white

14.95
#4A0C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0C3A
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0C3A#FFFFFF#000000##FFFFFF
##4A0C3A1.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11213B
Deuteranopia (green-blind)
#252B39
Tritanopia (blue-blind)
#4F0E22
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a0c3a;
/* rgb */ color: rgb(74, 12, 58);
/* oklch */ color: oklch(28.7% 0.106 340.6);
Tailwind
colors: {
  custom: {
    50: '#7f5370',
    500: '#4a0c3a',
    950: '#000000',
  },
}
SCSS
$custom: #4a0c3a;
$custom-light: #7f5370;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0c3a",
  "rgb": {
    "r": 74,
    "g": 12,
    "b": 58
  },
  "hsl": {
    "h": 315.484,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28663,
    "c": 0.10612,
    "h": 340.6
  },
  "luminance": 0.02024
}

Semantic roles & 50–950 ramp

primary
#4A0C3A
secondary
#2C8643
accent
#EF6839
background
#F8F4F6
surface
#EFE7EC
border
#CAC3C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A0C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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