#4D1540#4D1540

#4D1540 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.101 H 338.3°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#4D1540
RGBrgb(77, 21, 64)
HSLhsl(314, 57%, 19%)
HSVhsv(314, 73%, 30%)
CMYKcmyk(0%, 72.7%, 16.9%, 69.8%)
CIE-LABlab(17.85, 31.62, -13.76)
CIE-LCHlch(17.85, 34.49, 336.49°)
OKLaboklab(30.5% 0.0934 -0.0372)
OKLCHoklch(30.5% 0.101 338.3)
XYZxyz(4.2542, 2.4847, 5.1050)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1540 #154D22
analogous
#3E154D #4D1540 #4D1524
triadic
#4D1540 #404D15 #15404D
tetradic
#4D1540 #4D3E15 #154D22 #15244D
square
#4D1540 #4D3E15 #154D22 #15244D
split-complementary
#4D1540 #244D15 #154D3E
monochromatic
#180714 #1D0818 #4D1540 #7D2268 #AD2F90

Accessibility & contrast

On white

14.03
#4D1540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4D1540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1540
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1540#FFFFFF#000000##FFFFFF
##4D15401.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172641
Deuteranopia (green-blind)
#292F3F
Tritanopia (blue-blind)
#521728
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d1540;
/* rgb */ color: rgb(77, 21, 64);
/* oklch */ color: oklch(30.5% 0.101 338.3);
Tailwind
colors: {
  custom: {
    50: '#815775',
    500: '#4d1540',
    950: '#000000',
  },
}
SCSS
$custom: #4d1540;
$custom-light: #815775;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1540",
  "rgb": {
    "r": 77,
    "g": 21,
    "b": 64
  },
  "hsl": {
    "h": 313.929,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.305,
    "c": 0.10052,
    "h": 338.3
  },
  "luminance": 0.02484
}

Semantic roles & 50–950 ramp

primary
#4D1540
secondary
#39854B
accent
#E06B47
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4D1540

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

Preview Lab → · Contrast checker → · Palette generator →

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