#4C102A#4C102A

#4C102A is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.7% C 0.093 H 358.4°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#4C102A
RGBrgb(76, 16, 42)
HSLhsl(334, 65%, 18%)
HSVhsv(334, 79%, 30%)
CMYKcmyk(0%, 78.9%, 44.7%, 70.2%)
CIE-LABlab(15.87, 30.28, -1.13)
CIE-LCHlch(15.87, 30.30, 357.85°)
OKLaboklab(28.7% 0.0929 -0.0026)
OKLCHoklch(28.7% 0.093 358.4)
XYZxyz(3.5840, 2.0747, 2.4018)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C102A #104C32
analogous
#4C1048 #4C102A #4C1410
triadic
#4C102A #2A4C10 #102A4C
tetradic
#4C102A #484C10 #104C32 #14104C
square
#4C102A #484C10 #104C32 #14104C
split-complementary
#4C102A #104C14 #10484C
monochromatic
#19050E #19050E #4C102A #7F1B46 #B12562

Accessibility & contrast

On white

14.84
#4C102A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C102A
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C102A#FFFFFF#000000##FFFFFF
##4C102A1.0014.841.4114.84
#FFFFFF14.841.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C202B
Deuteranopia (green-blind)
#2D2C29
Tritanopia (blue-blind)
#53081B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4c102a;
/* rgb */ color: rgb(76, 16, 42);
/* oklch */ color: oklch(28.7% 0.093 358.4);
Tailwind
colors: {
  custom: {
    50: '#815463',
    500: '#4c102a',
    950: '#000000',
  },
}
SCSS
$custom: #4c102a;
$custom-light: #815463;
$custom-dark: #000000;
JSON
{
  "hex": "#4c102a",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 42
  },
  "hsl": {
    "h": 334,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28696,
    "c": 0.0929,
    "h": 358.4
  },
  "luminance": 0.02074
}

Semantic roles & 50–950 ramp

primary
#4C102A
secondary
#328661
accent
#E89F40
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4C102A

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

Preview Lab → · Contrast checker → · Palette generator →

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