#4C0D3E#4C0D3E

#4C0D3E is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.4% C 0.109 H 338.7°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#4C0D3E
RGBrgb(76, 13, 62)
HSLhsl(313, 71%, 17%)
HSVhsv(313, 83%, 30%)
CMYKcmyk(0%, 82.9%, 18.4%, 70.2%)
CIE-LABlab(16.37, 34.31, -14.68)
CIE-LCHlch(16.37, 37.32, 336.84°)
OKLaboklab(29.35% 0.1019 -0.0398)
OKLCHoklch(29.35% 0.109 338.7)
XYZxyz(3.9940, 2.1725, 4.7655)
Luminance0.0217 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D3E #0D4C1B
analogous
#3A0D4C #4C0D3E #4C0D1F
triadic
#4C0D3E #3E4C0D #0D3E4C
tetradic
#4C0D3E #4C3A0D #0D4C1B #0D1F4C
square
#4C0D3E #4C3A0D #0D4C1B #0D1F4C
split-complementary
#4C0D3E #1F4C0D #0D4C3A
monochromatic
#1A0415 #1A0415 #4C0D3E #801669 #B51F93

Accessibility & contrast

On white

14.64
#4C0D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0D3E
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D3E#FFFFFF#000000##FFFFFF
##4C0D3E1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10223F
Deuteranopia (green-blind)
#262C3D
Tritanopia (blue-blind)
#511024
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c0d3e;
/* rgb */ color: rgb(76, 13, 62);
/* oklch */ color: oklch(29.4% 0.109 338.7);
Tailwind
colors: {
  custom: {
    50: '#815473',
    500: '#4c0d3e',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d3e;
$custom-light: #815473;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d3e",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 62
  },
  "hsl": {
    "h": 313.333,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29353,
    "c": 0.10934,
    "h": 338.7
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#4C0D3E
secondary
#2E8742
accent
#EE623A
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4C0D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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