#4A0C35#4A0C35

#4A0C35 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.4% C 0.103 H 345.2°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#4A0C35
RGBrgb(74, 12, 53)
HSLhsl(320, 72%, 17%)
HSVhsv(320, 84%, 29%)
CMYKcmyk(0%, 83.8%, 28.4%, 71%)
CIE-LABlab(15.36, 32.71, -9.88)
CIE-LCHlch(15.36, 34.17, 343.20°)
OKLaboklab(28.4% 0.0991 -0.0263)
OKLCHoklch(28.4% 0.103 345.2)
XYZxyz(3.5983, 1.9762, 3.5594)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0C35 #0C4A21
analogous
#400C4A #4A0C35 #4A0C16
triadic
#4A0C35 #354A0C #0C354A
tetradic
#4A0C35 #4A400C #0C4A21 #0C164A
square
#4A0C35 #4A400C #0C4A21 #0C164A
split-complementary
#4A0C35 #164A0C #0C4A40
monochromatic
#1A0413 #1A0413 #4A0C35 #7F155B #B31D80

Accessibility & contrast

On white

15.05
#4A0C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0C35
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0C35#FFFFFF#000000##FFFFFF
##4A0C351.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142036
Deuteranopia (green-blind)
#272A34
Tritanopia (blue-blind)
#500B1F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4a0c35;
/* rgb */ color: rgb(74, 12, 53);
/* oklch */ color: oklch(28.4% 0.103 345.2);
Tailwind
colors: {
  custom: {
    50: '#7f526c',
    500: '#4a0c35',
    950: '#000000',
  },
}
SCSS
$custom: #4a0c35;
$custom-light: #7f526c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0c35",
  "rgb": {
    "r": 74,
    "g": 12,
    "b": 53
  },
  "hsl": {
    "h": 320.323,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28396,
    "c": 0.10256,
    "h": 345.2
  },
  "luminance": 0.01976
}

Semantic roles & 50–950 ramp

primary
#4A0C35
secondary
#2C864A
accent
#EF7739
background
#F8F4F6
surface
#EFE7EB
border
#CAC3C6
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A0C35

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

Preview Lab → · Contrast checker → · Palette generator →

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