#4C0E3D#4C0E3D

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

Color values

HEX#4C0E3D
RGBrgb(76, 14, 61)
HSLhsl(315, 69%, 18%)
HSVhsv(315, 82%, 30%)
CMYKcmyk(0%, 81.6%, 19.7%, 70.2%)
CIE-LABlab(16.44, 33.78, -13.85)
CIE-LCHlch(16.44, 36.51, 337.70°)
OKLaboklab(29.39% 0.1006 -0.0374)
OKLCHoklch(29.39% 0.107 339.6)
XYZxyz(3.9799, 2.1879, 4.6267)
Luminance0.0219 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0E3D #0E4C1D
analogous
#3C0E4C #4C0E3D #4C0E1E
triadic
#4C0E3D #3D4C0E #0E3D4C
tetradic
#4C0E3D #4C3C0E #0E4C1D #0E1E4C
square
#4C0E3D #4C3C0E #0E4C1D #0E1E4C
split-complementary
#4C0E3D #1E4C0E #0E4C3C
monochromatic
#1A0515 #1A0515 #4C0E3D #801866 #B32190

Accessibility & contrast

On white

14.61
#4C0E3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4C0E3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0E3D
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0E3D#FFFFFF#000000##FFFFFF
##4C0E3D1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12223E
Deuteranopia (green-blind)
#262C3C
Tritanopia (blue-blind)
#511024
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c0e3d;
/* rgb */ color: rgb(76, 14, 61);
/* oklch */ color: oklch(29.4% 0.107 339.6);
Tailwind
colors: {
  custom: {
    50: '#815472',
    500: '#4c0e3d',
    950: '#000000',
  },
}
SCSS
$custom: #4c0e3d;
$custom-light: #815472;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0e3d",
  "rgb": {
    "r": 76,
    "g": 14,
    "b": 61
  },
  "hsl": {
    "h": 314.516,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29391,
    "c": 0.10734,
    "h": 339.6
  },
  "luminance": 0.02187
}

Semantic roles & 50–950 ramp

primary
#4C0E3D
secondary
#2F8744
accent
#EC673C
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4C0E3D

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

Preview Lab → · Contrast checker → · Palette generator →

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