#4A0C20#4A0C20

#4A0C20 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.5% C 0.093 H 6.7°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#4A0C20
RGBrgb(74, 12, 32)
HSLhsl(341, 72%, 17%)
HSVhsv(341, 84%, 29%)
CMYKcmyk(0%, 83.8%, 56.8%, 71%)
CIE-LABlab(14.53, 30.12, 4.18)
CIE-LCHlch(14.53, 30.41, 7.91°)
OKLaboklab(27.52% 0.0919 0.0109)
OKLCHoklch(27.52% 0.093 6.7)
XYZxyz(3.2165, 1.8235, 1.5488)
Luminance0.0182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0C20 #0C4A36
analogous
#4A0C3F #4A0C20 #4A170C
triadic
#4A0C20 #204A0C #0C204A
tetradic
#4A0C20 #3F4A0C #0C4A36 #170C4A
square
#4A0C20 #3F4A0C #0C4A36 #170C4A
split-complementary
#4A0C20 #0C4A17 #0C3F4A
monochromatic
#1A040B #1A040B #4A0C20 #7F1537 #B31D4E

Accessibility & contrast

On white

15.39
#4A0C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#4A0C20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0C20
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0C20#FFFFFF#000000##FFFFFF
##4A0C201.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1D20
Deuteranopia (green-blind)
#2C291F
Tritanopia (blue-blind)
#510115
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #4a0c20;
/* rgb */ color: rgb(74, 12, 32);
/* oklch */ color: oklch(27.5% 0.093 6.7);
Tailwind
colors: {
  custom: {
    50: '#81515b',
    500: '#4a0c20',
    950: '#000000',
  },
}
SCSS
$custom: #4a0c20;
$custom-light: #81515b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0c20",
  "rgb": {
    "r": 74,
    "g": 12,
    "b": 32
  },
  "hsl": {
    "h": 340.645,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27518,
    "c": 0.09254,
    "h": 6.7
  },
  "luminance": 0.01823
}

Semantic roles & 50–950 ramp

primary
#4A0C20
secondary
#2C8669
accent
#EFB439
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0204
muted
#7C7879

Preview Lab

Preview with #4A0C20

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

Preview Lab → · Contrast checker → · Palette generator →

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