#4A0C39#4A0C39

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

Color values

HEX#4A0C39
RGBrgb(74, 12, 57)
HSLhsl(316, 72%, 17%)
HSVhsv(316, 84%, 29%)
CMYKcmyk(0%, 83.8%, 23%, 71%)
CIE-LABlab(15.56, 33.32, -12.42)
CIE-LCHlch(15.56, 35.56, 339.55°)
OKLaboklab(28.61% 0.1 -0.0334)
OKLCHoklch(28.61% 0.105 341.5)
XYZxyz(3.6942, 2.0146, 4.0644)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0C39 #0C4A1D
analogous
#3C0C4A #4A0C39 #4A0C1A
triadic
#4A0C39 #394A0C #0C394A
tetradic
#4A0C39 #4A3C0C #0C4A1D #0C1A4A
square
#4A0C39 #4A3C0C #0C4A1D #0C1A4A
split-complementary
#4A0C39 #1A4A0C #0C4A3C
monochromatic
#1A0414 #1A0414 #4A0C39 #7F1562 #B31D8A

Accessibility & contrast

On white

14.97
#4A0C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0C39
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0C39#FFFFFF#000000##FFFFFF
##4A0C391.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12203A
Deuteranopia (green-blind)
#262A38
Tritanopia (blue-blind)
#4F0D21
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a0c39;
/* rgb */ color: rgb(74, 12, 57);
/* oklch */ color: oklch(28.6% 0.105 341.5);
Tailwind
colors: {
  custom: {
    50: '#7f536f',
    500: '#4a0c39',
    950: '#000000',
  },
}
SCSS
$custom: #4a0c39;
$custom-light: #7f536f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0c39",
  "rgb": {
    "r": 74,
    "g": 12,
    "b": 57
  },
  "hsl": {
    "h": 316.452,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28608,
    "c": 0.10539,
    "h": 341.5
  },
  "luminance": 0.02014
}

Semantic roles & 50–950 ramp

primary
#4A0C39
secondary
#2C8645
accent
#EF6B39
background
#F8F4F6
surface
#EFE7EC
border
#CAC3C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A0C39

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

Preview Lab → · Contrast checker → · Palette generator →

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