#4D1140#4D1140

#4D1140 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 30.0% C 0.106 H 337.9°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#4D1140
RGBrgb(77, 17, 64)
HSLhsl(313, 64%, 18%)
HSVhsv(313, 78%, 30%)
CMYKcmyk(0%, 77.9%, 16.9%, 69.8%)
CIE-LABlab(17.22, 33.38, -14.73)
CIE-LCHlch(17.22, 36.49, 336.19°)
OKLaboklab(30.05% 0.0986 -0.0399)
OKLCHoklch(30.05% 0.106 337.9)
XYZxyz(4.1865, 2.3492, 5.0825)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1140 #114D1E
analogous
#3C114D #4D1140 #4D1122
triadic
#4D1140 #404D11 #11404D
tetradic
#4D1140 #4D3C11 #114D1E #11224D
square
#4D1140 #4D3C11 #114D1E #11224D
split-complementary
#4D1140 #224D11 #114D3C
monochromatic
#190615 #1B0616 #4D1140 #7F1C6A #B12793

Accessibility & contrast

On white

14.29
#4D1140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4D1140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1140
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1140#FFFFFF#000000##FFFFFF
##4D11401.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132441
Deuteranopia (green-blind)
#272E3F
Tritanopia (blue-blind)
#521426
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d1140;
/* rgb */ color: rgb(77, 17, 64);
/* oklch */ color: oklch(30.0% 0.106 337.9);
Tailwind
colors: {
  custom: {
    50: '#815575',
    500: '#4d1140',
    950: '#000000',
  },
}
SCSS
$custom: #4d1140;
$custom-light: #815575;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1140",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 64
  },
  "hsl": {
    "h": 313,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30045,
    "c": 0.1064,
    "h": 337.9
  },
  "luminance": 0.02349
}

Semantic roles & 50–950 ramp

primary
#4D1140
secondary
#338645
accent
#E76541
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4D1140

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

Preview Lab → · Contrast checker → · Palette generator →

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