#4A0C28#4A0C28

#4A0C28 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.8% C 0.095 H 358.2°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#4A0C28
RGBrgb(74, 12, 40)
HSLhsl(333, 72%, 17%)
HSVhsv(333, 84%, 29%)
CMYKcmyk(0%, 83.8%, 45.9%, 71%)
CIE-LABlab(14.80, 30.98, -1.30)
CIE-LCHlch(14.80, 31.01, 357.59°)
OKLaboklab(27.81% 0.0952 -0.003)
OKLCHoklch(27.81% 0.095 358.2)
XYZxyz(3.3388, 1.8724, 2.1927)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0C28 #0C4A2E
analogous
#4A0C47 #4A0C28 #4A0F0C
triadic
#4A0C28 #284A0C #0C284A
tetradic
#4A0C28 #474A0C #0C4A2E #0F0C4A
square
#4A0C28 #474A0C #0C4A2E #0F0C4A
split-complementary
#4A0C28 #0C4A0F #0C474A
monochromatic
#1A040E #1A040E #4A0C28 #7F1544 #B31D61

Accessibility & contrast

On white

15.28
#4A0C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#4A0C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0C28
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0C28#FFFFFF#000000##FFFFFF
##4A0C281.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191E29
Deuteranopia (green-blind)
#2A2927
Tritanopia (blue-blind)
#510418
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #4a0c28;
/* rgb */ color: rgb(74, 12, 40);
/* oklch */ color: oklch(27.8% 0.095 358.2);
Tailwind
colors: {
  custom: {
    50: '#805261',
    500: '#4a0c28',
    950: '#000000',
  },
}
SCSS
$custom: #4a0c28;
$custom-light: #805261;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0c28",
  "rgb": {
    "r": 74,
    "g": 12,
    "b": 40
  },
  "hsl": {
    "h": 332.903,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27805,
    "c": 0.09523,
    "h": 358.2
  },
  "luminance": 0.01872
}

Semantic roles & 50–950 ramp

primary
#4A0C28
secondary
#2C865D
accent
#EF9D39
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0205
muted
#7C7879

Preview Lab

Preview with #4A0C28

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

Preview Lab → · Contrast checker → · Palette generator →

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