#4C1127#4C1127

#4C1127 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.7% C 0.090 H 2.0°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#4C1127
RGBrgb(76, 17, 39)
HSLhsl(338, 63%, 18%)
HSVhsv(338, 78%, 30%)
CMYKcmyk(0%, 77.6%, 48.7%, 70.2%)
CIE-LABlab(15.92, 29.49, 1.11)
CIE-LCHlch(15.92, 29.51, 2.16°)
OKLaboklab(28.7% 0.0903 0.0032)
OKLCHoklch(28.7% 0.09 2)
XYZxyz(3.5474, 2.0843, 2.1346)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1127 #114C36
analogous
#4C1144 #4C1127 #4C1811
triadic
#4C1127 #274C11 #11274C
tetradic
#4C1127 #444C11 #114C36 #18114C
square
#4C1127 #444C11 #114C36 #18114C
split-complementary
#4C1127 #114C18 #11444C
monochromatic
#19060D #1A060D #4C1127 #7E1C41 #B0275A

Accessibility & contrast

On white

14.82
#4C1127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4C1127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1127
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1127#FFFFFF#000000##FFFFFF
##4C11271.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2028
Deuteranopia (green-blind)
#2D2C26
Tritanopia (blue-blind)
#53081A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c1127;
/* rgb */ color: rgb(76, 17, 39);
/* oklch */ color: oklch(28.7% 0.090 2.0);
Tailwind
colors: {
  custom: {
    50: '#825460',
    500: '#4c1127',
    950: '#000000',
  },
}
SCSS
$custom: #4c1127;
$custom-light: #825460;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1127",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 337.627,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28698,
    "c": 0.09036,
    "h": 2
  },
  "luminance": 0.02084
}

Semantic roles & 50–950 ramp

primary
#4C1127
secondary
#338567
accent
#E6A941
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4C1127

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

Preview Lab → · Contrast checker → · Palette generator →

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