#4C1027#4C1027

#4C1027 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.6% C 0.092 H 1.6°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#4C1027
RGBrgb(76, 16, 39)
HSLhsl(337, 65%, 18%)
HSVhsv(337, 79%, 30%)
CMYKcmyk(0%, 78.9%, 48.7%, 70.2%)
CIE-LABlab(15.77, 29.92, 0.89)
CIE-LCHlch(15.77, 29.94, 1.70°)
OKLaboklab(28.58% 0.0917 0.0026)
OKLCHoklch(28.58% 0.092 1.6)
XYZxyz(3.5323, 2.0540, 2.1295)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1027 #104C35
analogous
#4C1045 #4C1027 #4C1710
triadic
#4C1027 #274C10 #10274C
tetradic
#4C1027 #454C10 #104C35 #17104C
square
#4C1027 #454C10 #104C35 #17104C
split-complementary
#4C1027 #104C17 #10454C
monochromatic
#19050D #19050D #4C1027 #7F1B41 #B1255B

Accessibility & contrast

On white

14.89
#4C1027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4C1027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1027
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1027#FFFFFF#000000##FFFFFF
##4C10271.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2028
Deuteranopia (green-blind)
#2D2C26
Tritanopia (blue-blind)
#53071A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4c1027;
/* rgb */ color: rgb(76, 16, 39);
/* oklch */ color: oklch(28.6% 0.092 1.6);
Tailwind
colors: {
  custom: {
    50: '#825460',
    500: '#4c1027',
    950: '#000000',
  },
}
SCSS
$custom: #4c1027;
$custom-light: #825460;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1027",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 337,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28583,
    "c": 0.09172,
    "h": 1.6
  },
  "luminance": 0.02054
}

Semantic roles & 50–950 ramp

primary
#4C1027
secondary
#328666
accent
#E8A840
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4C1027

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

Preview Lab → · Contrast checker → · Palette generator →

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