#4D1126#4D1126

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

Color values

HEX#4D1126
RGBrgb(77, 17, 38)
HSLhsl(339, 64%, 18%)
HSVhsv(339, 78%, 30%)
CMYKcmyk(0%, 77.9%, 50.6%, 69.8%)
CIE-LABlab(16.10, 29.73, 2.12)
CIE-LCHlch(16.10, 29.80, 4.08°)
OKLaboklab(28.86% 0.0909 0.0058)
OKLCHoklch(28.86% 0.091 3.6)
XYZxyz(3.6112, 2.1191, 2.0522)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1126 #114D38
analogous
#4D1144 #4D1126 #4D1A11
triadic
#4D1126 #264D11 #11264D
tetradic
#4D1126 #444D11 #114D38 #1A114D
square
#4D1126 #444D11 #114D38 #1A114D
split-complementary
#4D1126 #114D1A #11444D
monochromatic
#19060C #1B060D #4D1126 #7F1C3F #B12757

Accessibility & contrast

On white

14.75
#4D1126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1126
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1126#FFFFFF#000000##FFFFFF
##4D11261.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2126
Deuteranopia (green-blind)
#2E2C25
Tritanopia (blue-blind)
#54071A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4d1126;
/* rgb */ color: rgb(77, 17, 38);
/* oklch */ color: oklch(28.9% 0.091 3.6);
Tailwind
colors: {
  custom: {
    50: '#835460',
    500: '#4d1126',
    950: '#000000',
  },
}
SCSS
$custom: #4d1126;
$custom-light: #835460;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1126",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 38
  },
  "hsl": {
    "h": 339,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28856,
    "c": 0.09111,
    "h": 3.6
  },
  "luminance": 0.02119
}

Semantic roles & 50–950 ramp

primary
#4D1126
secondary
#338669
accent
#E7AD41
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0304
muted
#7C7879

Preview Lab

Preview with #4D1126

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

Preview Lab → · Contrast checker → · Palette generator →

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