#4C1028#4C1028

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

Color values

HEX#4C1028
RGBrgb(76, 16, 40)
HSLhsl(336, 65%, 18%)
HSVhsv(336, 79%, 30%)
CMYKcmyk(0%, 78.9%, 47.4%, 70.2%)
CIE-LABlab(15.80, 30.04, 0.21)
CIE-LCHlch(15.80, 30.04, 0.40°)
OKLaboklab(28.62% 0.0921 0.0009)
OKLCHoklch(28.62% 0.092 0.6)
XYZxyz(3.5490, 2.0607, 2.2179)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1028 #104C34
analogous
#4C1046 #4C1028 #4C1610
triadic
#4C1028 #284C10 #10284C
tetradic
#4C1028 #464C10 #104C34 #16104C
square
#4C1028 #464C10 #104C34 #16104C
split-complementary
#4C1028 #104C16 #10464C
monochromatic
#19050D #19050D #4C1028 #7F1B43 #B1255D

Accessibility & contrast

On white

14.87
#4C1028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1028
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1028#FFFFFF#000000##FFFFFF
##4C10281.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2029
Deuteranopia (green-blind)
#2D2C27
Tritanopia (blue-blind)
#53081A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4c1028;
/* rgb */ color: rgb(76, 16, 40);
/* oklch */ color: oklch(28.6% 0.092 0.6);
Tailwind
colors: {
  custom: {
    50: '#825461',
    500: '#4c1028',
    950: '#000000',
  },
}
SCSS
$custom: #4c1028;
$custom-light: #825461;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1028",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 40
  },
  "hsl": {
    "h": 336,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2862,
    "c": 0.09208,
    "h": 0.6
  },
  "luminance": 0.0206
}

Semantic roles & 50–950 ramp

primary
#4C1028
secondary
#328664
accent
#E8A540
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4C1028

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

Preview Lab → · Contrast checker → · Palette generator →

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