#4A0C33#4A0C33

#4A0C33 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.3% C 0.101 H 347.0°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#4A0C33
RGBrgb(74, 12, 51)
HSLhsl(322, 72%, 17%)
HSVhsv(322, 84%, 29%)
CMYKcmyk(0%, 83.8%, 31.1%, 71%)
CIE-LABlab(15.27, 32.42, -8.59)
CIE-LCHlch(15.27, 33.53, 345.16°)
OKLaboklab(28.3% 0.0987 -0.0227)
OKLCHoklch(28.3% 0.101 347)
XYZxyz(3.5532, 1.9582, 3.3222)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0C33 #0C4A23
analogous
#420C4A #4A0C33 #4A0C14
triadic
#4A0C33 #334A0C #0C334A
tetradic
#4A0C33 #4A420C #0C4A23 #0C144A
square
#4A0C33 #4A420C #0C4A23 #0C144A
split-complementary
#4A0C33 #144A0C #0C4A42
monochromatic
#1A0412 #1A0412 #4A0C33 #7F1557 #B31D7C

Accessibility & contrast

On white

15.09
#4A0C33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#4A0C33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0C33
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0C33#FFFFFF#000000##FFFFFF
##4A0C331.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151F34
Deuteranopia (green-blind)
#282A32
Tritanopia (blue-blind)
#500A1E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4a0c33;
/* rgb */ color: rgb(74, 12, 51);
/* oklch */ color: oklch(28.3% 0.101 347.0);
Tailwind
colors: {
  custom: {
    50: '#7f526a',
    500: '#4a0c33',
    950: '#000000',
  },
}
SCSS
$custom: #4a0c33;
$custom-light: #7f526a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0c33",
  "rgb": {
    "r": 74,
    "g": 12,
    "b": 51
  },
  "hsl": {
    "h": 322.258,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28296,
    "c": 0.10123,
    "h": 347
  },
  "luminance": 0.01958
}

Semantic roles & 50–950 ramp

primary
#4A0C33
secondary
#2C864D
accent
#EF7C39
background
#F8F4F6
surface
#EFE7EB
border
#CAC3C6
text
#0A0206
muted
#7C787A

Preview Lab

Preview with #4A0C33

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

Preview Lab → · Contrast checker → · Palette generator →

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