#4C0C3E#4C0C3E

#4C0C3E is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.3% C 0.111 H 338.6°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#4C0C3E
RGBrgb(76, 12, 62)
HSLhsl(313, 73%, 17%)
HSVhsv(313, 84%, 30%)
CMYKcmyk(0%, 84.2%, 18.4%, 70.2%)
CIE-LABlab(16.24, 34.67, -14.87)
CIE-LCHlch(16.24, 37.72, 336.79°)
OKLaboklab(29.26% 0.1029 -0.0403)
OKLCHoklch(29.26% 0.111 338.6)
XYZxyz(3.9816, 2.1476, 4.7613)
Luminance0.0215 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0C3E #0C4C1A
analogous
#3A0C4C #4C0C3E #4C0C1E
triadic
#4C0C3E #3E4C0C #0C3E4C
tetradic
#4C0C3E #4C3A0C #0C4C1A #0C1E4C
square
#4C0C3E #4C3A0C #0C4C1A #0C1E4C
split-complementary
#4C0C3E #1E4C0C #0C4C3A
monochromatic
#1A0416 #1A0416 #4C0C3E #811469 #B61D94

Accessibility & contrast

On white

14.69
#4C0C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0C3E
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0C3E#FFFFFF#000000##FFFFFF
##4C0C3E1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10223F
Deuteranopia (green-blind)
#252C3D
Tritanopia (blue-blind)
#510F24
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c0c3e;
/* rgb */ color: rgb(76, 12, 62);
/* oklch */ color: oklch(29.3% 0.111 338.6);
Tailwind
colors: {
  custom: {
    50: '#815373',
    500: '#4c0c3e',
    950: '#000000',
  },
}
SCSS
$custom: #4c0c3e;
$custom-light: #815373;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0c3e",
  "rgb": {
    "r": 76,
    "g": 12,
    "b": 62
  },
  "hsl": {
    "h": 313.125,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29264,
    "c": 0.11054,
    "h": 338.6
  },
  "luminance": 0.02147
}

Semantic roles & 50–950 ramp

primary
#4C0C3E
secondary
#2C8840
accent
#EF6038
background
#F8F5F7
surface
#EFE8ED
border
#CAC4C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4C0C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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