#4C0A2F#4C0A2F

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

Color values

HEX#4C0A2F
RGBrgb(76, 10, 47)
HSLhsl(326, 77%, 17%)
HSVhsv(326, 87%, 30%)
CMYKcmyk(0%, 86.8%, 38.2%, 70.2%)
CIE-LABlab(15.27, 33.16, -5.65)
CIE-LCHlch(15.27, 33.64, 350.32°)
OKLaboklab(28.32% 0.1017 -0.0146)
OKLCHoklch(28.32% 0.103 351.8)
XYZxyz(3.6023, 1.9593, 2.8772)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0A2F #0A4C27
analogous
#480A4C #4C0A2F #4C0A0E
triadic
#4C0A2F #2F4C0A #0A2F4C
tetradic
#4C0A2F #4C480A #0A4C27 #0A0E4C
square
#4C0A2F #4C480A #0A4C27 #0A0E4C
split-complementary
#4C0A2F #0E4C0A #0A4C48
monochromatic
#1B0411 #1B0411 #4C0A2F #821150 #B81872

Accessibility & contrast

On white

15.09
#4C0A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#4C0A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0A2F
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0A2F#FFFFFF#000000##FFFFFF
##4C0A2F1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F30
Deuteranopia (green-blind)
#2A2A2E
Tritanopia (blue-blind)
#52041B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0a2f;
/* rgb */ color: rgb(76, 10, 47);
/* oklch */ color: oklch(28.3% 0.103 351.8);
Tailwind
colors: {
  custom: {
    50: '#815267',
    500: '#4c0a2f',
    950: '#000000',
  },
}
SCSS
$custom: #4c0a2f;
$custom-light: #815267;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0a2f",
  "rgb": {
    "r": 76,
    "g": 10,
    "b": 47
  },
  "hsl": {
    "h": 326.364,
    "s": 76.744,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2832,
    "c": 0.10279,
    "h": 351.8
  },
  "luminance": 0.01959
}

Semantic roles & 50–950 ramp

primary
#4C0A2F
secondary
#298953
accent
#F38835
background
#F8F4F6
surface
#EFE7EB
border
#CAC3C6
text
#0B0206
muted
#7C787A

Preview Lab

Preview with #4C0A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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