#4D1529#4D1529

#4D1529 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.5% C 0.086 H 2.0°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#4D1529
RGBrgb(77, 21, 41)
HSLhsl(339, 57%, 19%)
HSVhsv(339, 73%, 30%)
CMYKcmyk(0%, 72.7%, 46.8%, 69.8%)
CIE-LABlab(16.87, 28.23, 1.06)
CIE-LCHlch(16.87, 28.25, 2.15°)
OKLaboklab(29.46% 0.0863 0.0031)
OKLCHoklch(29.46% 0.086 2)
XYZxyz(3.7292, 2.2747, 2.3401)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1529 #154D39
analogous
#4D1545 #4D1529 #4D1D15
triadic
#4D1529 #294D15 #15294D
tetradic
#4D1529 #454D15 #154D39 #1D154D
square
#4D1529 #454D15 #154D39 #1D154D
split-complementary
#4D1529 #154D1D #15454D
monochromatic
#18070D #1D080F #4D1529 #7D2243 #AD2F5C

Accessibility & contrast

On white

14.43
#4D1529 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4D1529 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1529
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1529#FFFFFF#000000##FFFFFF
##4D15291.0014.431.4514.43
#FFFFFF14.431.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20232A
Deuteranopia (green-blind)
#2F2E28
Tritanopia (blue-blind)
#540E1D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d1529;
/* rgb */ color: rgb(77, 21, 41);
/* oklch */ color: oklch(29.5% 0.086 2.0);
Tailwind
colors: {
  custom: {
    50: '#825762',
    500: '#4d1529',
    950: '#000000',
  },
}
SCSS
$custom: #4d1529;
$custom-light: #825762;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1529",
  "rgb": {
    "r": 77,
    "g": 21,
    "b": 41
  },
  "hsl": {
    "h": 338.571,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29457,
    "c": 0.08637,
    "h": 2
  },
  "luminance": 0.02274
}

Semantic roles & 50–950 ramp

primary
#4D1529
secondary
#39856A
accent
#E0AA47
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4D1529

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

Preview Lab → · Contrast checker → · Palette generator →

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