#4C0E27#4C0E27

#4C0E27 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.4% C 0.094 H 0.9°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#4C0E27
RGBrgb(76, 14, 39)
HSLhsl(336, 69%, 18%)
HSVhsv(336, 82%, 30%)
CMYKcmyk(0%, 81.6%, 48.7%, 70.2%)
CIE-LABlab(15.47, 30.75, 0.46)
CIE-LCHlch(15.47, 30.75, 0.86°)
OKLaboklab(28.37% 0.0943 0.0015)
OKLCHoklch(28.37% 0.094 0.9)
XYZxyz(3.5040, 1.9975, 2.1201)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0E27 #0E4C33
analogous
#4C0E46 #4C0E27 #4C140E
triadic
#4C0E27 #274C0E #0E274C
tetradic
#4C0E27 #464C0E #0E4C33 #140E4C
square
#4C0E27 #464C0E #0E4C33 #140E4C
split-complementary
#4C0E27 #0E4C14 #0E464C
monochromatic
#1A050D #1A050D #4C0E27 #801842 #B3215C

Accessibility & contrast

On white

15.01
#4C0E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#4C0E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0E27
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0E27#FFFFFF#000000##FFFFFF
##4C0E271.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1F28
Deuteranopia (green-blind)
#2C2B26
Tritanopia (blue-blind)
#530519
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4c0e27;
/* rgb */ color: rgb(76, 14, 39);
/* oklch */ color: oklch(28.4% 0.094 0.9);
Tailwind
colors: {
  custom: {
    50: '#825360',
    500: '#4c0e27',
    950: '#000000',
  },
}
SCSS
$custom: #4c0e27;
$custom-light: #825360;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0e27",
  "rgb": {
    "r": 76,
    "g": 14,
    "b": 39
  },
  "hsl": {
    "h": 335.806,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28366,
    "c": 0.09432,
    "h": 0.9
  },
  "luminance": 0.01997
}

Semantic roles & 50–950 ramp

primary
#4C0E27
secondary
#2F8763
accent
#ECA53C
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4C0E27

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

Preview Lab → · Contrast checker → · Palette generator →

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