#4C0D3B#4C0D3B

#4C0D3B is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.2% C 0.107 H 341.2°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#4C0D3B
RGBrgb(76, 13, 59)
HSLhsl(316, 71%, 17%)
HSVhsv(316, 83%, 30%)
CMYKcmyk(0%, 82.9%, 22.4%, 70.2%)
CIE-LABlab(16.21, 33.83, -12.81)
CIE-LCHlch(16.21, 36.18, 339.27°)
OKLaboklab(29.19% 0.1014 -0.0345)
OKLCHoklch(29.19% 0.107 341.2)
XYZxyz(3.9140, 2.1405, 4.3439)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D3B #0D4C1E
analogous
#3D0D4C #4C0D3B #4C0D1C
triadic
#4C0D3B #3B4C0D #0D3B4C
tetradic
#4C0D3B #4C3D0D #0D4C1E #0D1C4C
square
#4C0D3B #4C3D0D #0D4C1E #0D1C4C
split-complementary
#4C0D3B #1C4C0D #0D4C3D
monochromatic
#1A0414 #1A0414 #4C0D3B #801664 #B51F8C

Accessibility & contrast

On white

14.71
#4C0D3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4C0D3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0D3B
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D3B#FFFFFF#000000##FFFFFF
##4C0D3B1.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13223C
Deuteranopia (green-blind)
#272C3A
Tritanopia (blue-blind)
#510E23
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c0d3b;
/* rgb */ color: rgb(76, 13, 59);
/* oklch */ color: oklch(29.2% 0.107 341.2);
Tailwind
colors: {
  custom: {
    50: '#815371',
    500: '#4c0d3b',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d3b;
$custom-light: #815371;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d3b",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 59
  },
  "hsl": {
    "h": 316.19,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29186,
    "c": 0.10708,
    "h": 341.2
  },
  "luminance": 0.0214
}

Semantic roles & 50–950 ramp

primary
#4C0D3B
secondary
#2E8746
accent
#EE6B3A
background
#F8F5F6
surface
#EFE8EC
border
#CAC4C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4C0D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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