#4D1127#4D1127

#4D1127 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.9% C 0.091 H 2.5°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#4D1127
RGBrgb(77, 17, 39)
HSLhsl(338, 64%, 18%)
HSVhsv(338, 78%, 30%)
CMYKcmyk(0%, 77.9%, 49.4%, 69.8%)
CIE-LABlab(16.13, 29.84, 1.44)
CIE-LCHlch(16.13, 29.87, 2.77°)
OKLaboklab(28.89% 0.0913 0.0041)
OKLCHoklch(28.89% 0.091 2.5)
XYZxyz(3.6275, 2.1256, 2.1383)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1127 #114D37
analogous
#4D1145 #4D1127 #4D1911
triadic
#4D1127 #274D11 #11274D
tetradic
#4D1127 #454D11 #114D37 #19114D
square
#4D1127 #454D11 #114D37 #19114D
split-complementary
#4D1127 #114D19 #11454D
monochromatic
#19060D #1B060E #4D1127 #7F1C40 #B1275A

Accessibility & contrast

On white

14.74
#4D1127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4D1127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1127
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1127#FFFFFF#000000##FFFFFF
##4D11271.0014.741.4314.74
#FFFFFF14.741.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2128
Deuteranopia (green-blind)
#2E2C26
Tritanopia (blue-blind)
#54081A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4d1127;
/* rgb */ color: rgb(77, 17, 39);
/* oklch */ color: oklch(28.9% 0.091 2.5);
Tailwind
colors: {
  custom: {
    50: '#825460',
    500: '#4d1127',
    950: '#000000',
  },
}
SCSS
$custom: #4d1127;
$custom-light: #825460;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1127",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 338,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28891,
    "c": 0.09143,
    "h": 2.5
  },
  "luminance": 0.02125
}

Semantic roles & 50–950 ramp

primary
#4D1127
secondary
#338668
accent
#E7AA41
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4D1127

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

Preview Lab → · Contrast checker → · Palette generator →

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