#4A0C3E#4A0C3E

#4A0C3E is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.9% C 0.109 H 337.2°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#4A0C3E
RGBrgb(74, 12, 62)
HSLhsl(312, 72%, 17%)
HSVhsv(312, 84%, 29%)
CMYKcmyk(0%, 83.8%, 16.2%, 71%)
CIE-LABlab(15.84, 34.13, -15.54)
CIE-LCHlch(15.84, 37.50, 335.52°)
OKLaboklab(28.89% 0.1007 -0.0423)
OKLCHoklch(28.89% 0.109 337.2)
XYZxyz(3.8251, 2.0670, 4.7540)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0C3E #0C4A18
analogous
#370C4A #4A0C3E #4A0C1F
triadic
#4A0C3E #3E4A0C #0C3E4A
tetradic
#4A0C3E #4A370C #0C4A18 #0C1F4A
square
#4A0C3E #4A370C #0C4A18 #0C1F4A
split-complementary
#4A0C3E #1F4A0C #0C4A37
monochromatic
#1A0416 #1A0416 #4A0C3E #7F156A #B31D96

Accessibility & contrast

On white

14.86
#4A0C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0C3E
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0C3E#FFFFFF#000000##FFFFFF
##4A0C3E1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E213F
Deuteranopia (green-blind)
#242B3D
Tritanopia (blue-blind)
#4E1024
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a0c3e;
/* rgb */ color: rgb(74, 12, 62);
/* oklch */ color: oklch(28.9% 0.109 337.2);
Tailwind
colors: {
  custom: {
    50: '#7f5373',
    500: '#4a0c3e',
    950: '#000000',
  },
}
SCSS
$custom: #4a0c3e;
$custom-light: #7f5373;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0c3e",
  "rgb": {
    "r": 74,
    "g": 12,
    "b": 62
  },
  "hsl": {
    "h": 311.613,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28892,
    "c": 0.1092,
    "h": 337.2
  },
  "luminance": 0.02067
}

Semantic roles & 50–950 ramp

primary
#4A0C3E
secondary
#2C863D
accent
#EF5C39
background
#F8F4F7
surface
#EFE8ED
border
#CAC4C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A0C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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