#4C0C27#4C0C27

#4C0C27 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 28.2% C 0.097 H 0.3°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#4C0C27
RGBrgb(76, 12, 39)
HSLhsl(335, 73%, 17%)
HSVhsv(335, 84%, 30%)
CMYKcmyk(0%, 84.2%, 48.7%, 70.2%)
CIE-LABlab(15.20, 31.51, 0.07)
CIE-LCHlch(15.20, 31.51, 0.12°)
OKLaboklab(28.17% 0.0968 0.0005)
OKLCHoklch(28.17% 0.097 0.3)
XYZxyz(3.4784, 1.9464, 2.1116)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0C27 #0C4C31
analogous
#4C0C47 #4C0C27 #4C110C
triadic
#4C0C27 #274C0C #0C274C
tetradic
#4C0C27 #474C0C #0C4C31 #110C4C
square
#4C0C27 #474C0C #0C4C31 #110C4C
split-complementary
#4C0C27 #0C4C11 #0C474C
monochromatic
#1A040E #1A040E #4C0C27 #811442 #B61D5D

Accessibility & contrast

On white

15.12
#4C0C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#4C0C27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0C27
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0C27#FFFFFF#000000##FFFFFF
##4C0C271.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1E28
Deuteranopia (green-blind)
#2C2B26
Tritanopia (blue-blind)
#530218
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0c27;
/* rgb */ color: rgb(76, 12, 39);
/* oklch */ color: oklch(28.2% 0.097 0.3);
Tailwind
colors: {
  custom: {
    50: '#825260',
    500: '#4c0c27',
    950: '#000000',
  },
}
SCSS
$custom: #4c0c27;
$custom-light: #825260;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0c27",
  "rgb": {
    "r": 76,
    "g": 12,
    "b": 39
  },
  "hsl": {
    "h": 334.688,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28167,
    "c": 0.09675,
    "h": 0.3
  },
  "luminance": 0.01946
}

Semantic roles & 50–950 ramp

primary
#4C0C27
secondary
#2C8861
accent
#EFA238
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0205
muted
#7C7879

Preview Lab

Preview with #4C0C27

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

Preview Lab → · Contrast checker → · Palette generator →

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