#4A0C3C#4A0C3C

#4A0C3C is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.8% C 0.108 H 338.9°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#4A0C3C
RGBrgb(74, 12, 60)
HSLhsl(314, 72%, 17%)
HSVhsv(314, 84%, 29%)
CMYKcmyk(0%, 83.8%, 18.9%, 71%)
CIE-LABlab(15.72, 33.80, -14.30)
CIE-LCHlch(15.72, 36.70, 337.07°)
OKLaboklab(28.78% 0.1004 -0.0387)
OKLCHoklch(28.78% 0.108 338.9)
XYZxyz(3.7712, 2.0454, 4.4703)
Luminance0.0204 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0C3C #0C4A1A
analogous
#390C4A #4A0C3C #4A0C1D
triadic
#4A0C3C #3C4A0C #0C3C4A
tetradic
#4A0C3C #4A390C #0C4A1A #0C1D4A
square
#4A0C3C #4A390C #0C4A1A #0C1D4A
split-complementary
#4A0C3C #1D4A0C #0C4A39
monochromatic
#1A0415 #1A0415 #4A0C3C #7F1567 #B31D91

Accessibility & contrast

On white

14.90
#4A0C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0C3C
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0C3C#FFFFFF#000000##FFFFFF
##4A0C3C1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10213D
Deuteranopia (green-blind)
#242B3B
Tritanopia (blue-blind)
#4F0F23
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a0c3c;
/* rgb */ color: rgb(74, 12, 60);
/* oklch */ color: oklch(28.8% 0.108 338.9);
Tailwind
colors: {
  custom: {
    50: '#7f5372',
    500: '#4a0c3c',
    950: '#000000',
  },
}
SCSS
$custom: #4a0c3c;
$custom-light: #7f5372;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0c3c",
  "rgb": {
    "r": 74,
    "g": 12,
    "b": 60
  },
  "hsl": {
    "h": 313.548,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28776,
    "c": 0.10764,
    "h": 338.9
  },
  "luminance": 0.02045
}

Semantic roles & 50–950 ramp

primary
#4A0C3C
secondary
#2C8640
accent
#EF6239
background
#F8F4F6
surface
#EFE7EC
border
#CAC3C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A0C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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