#4C0D31#4C0D31

#4C0D31 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.7% C 0.100 H 350.4°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#4C0D31
RGBrgb(76, 13, 49)
HSLhsl(326, 71%, 17%)
HSVhsv(326, 83%, 30%)
CMYKcmyk(0%, 82.9%, 35.5%, 70.2%)
CIE-LABlab(15.73, 32.37, -6.41)
CIE-LCHlch(15.73, 33.00, 348.81°)
OKLaboklab(28.68% 0.099 -0.0167)
OKLCHoklch(28.68% 0.1 350.4)
XYZxyz(3.6790, 2.0465, 3.1064)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D31 #0D4C28
analogous
#470D4C #4C0D31 #4C0D12
triadic
#4C0D31 #314C0D #0D314C
tetradic
#4C0D31 #4C470D #0D4C28 #0D124C
square
#4C0D31 #4C470D #0D4C28 #0D124C
split-complementary
#4C0D31 #124C0D #0D4C47
monochromatic
#1A0411 #1A0411 #4C0D31 #801653 #B51F74

Accessibility & contrast

On white

14.90
#4C0D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0D31
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D31#FFFFFF#000000##FFFFFF
##4C0D311.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182032
Deuteranopia (green-blind)
#2A2B30
Tritanopia (blue-blind)
#52091D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4c0d31;
/* rgb */ color: rgb(76, 13, 49);
/* oklch */ color: oklch(28.7% 0.100 350.4);
Tailwind
colors: {
  custom: {
    50: '#815369',
    500: '#4c0d31',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d31;
$custom-light: #815369;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d31",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 49
  },
  "hsl": {
    "h": 325.714,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28682,
    "c": 0.10042,
    "h": 350.4
  },
  "luminance": 0.02046
}

Semantic roles & 50–950 ramp

primary
#4C0D31
secondary
#2E8754
accent
#EE873A
background
#F8F4F6
surface
#EFE8EB
border
#CAC4C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4C0D31

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

Preview Lab → · Contrast checker → · Palette generator →

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