#4D1640#4D1640

#4D1640 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.099 H 338.4°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#4D1640
RGBrgb(77, 22, 64)
HSLhsl(314, 56%, 19%)
HSVhsv(314, 71%, 30%)
CMYKcmyk(0%, 71.4%, 16.9%, 69.8%)
CIE-LABlab(18.02, 31.16, -13.50)
CIE-LCHlch(18.02, 33.95, 336.58°)
OKLaboklab(30.62% 0.092 -0.0365)
OKLCHoklch(30.62% 0.099 338.4)
XYZxyz(4.2730, 2.5221, 5.1113)
Luminance0.0252 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1640 #164D23
analogous
#3F164D #4D1640 #4D1625
triadic
#4D1640 #404D16 #16404D
tetradic
#4D1640 #4D3F16 #164D23 #16254D
square
#4D1640 #4D3F16 #164D23 #16254D
split-complementary
#4D1640 #254D16 #164D3F
monochromatic
#180714 #1D0818 #4D1640 #7D2468 #AC318F

Accessibility & contrast

On white

13.96
#4D1640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1640
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1640#FFFFFF#000000##FFFFFF
##4D16401.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d1640;
/* rgb */ color: rgb(77, 22, 64);
/* oklch */ color: oklch(30.6% 0.099 338.4);
Tailwind
colors: {
  custom: {
    50: '#815875',
    500: '#4d1640',
    950: '#000000',
  },
}
SCSS
$custom: #4d1640;
$custom-light: #815875;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1640",
  "rgb": {
    "r": 77,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 314.182,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30624,
    "c": 0.09894,
    "h": 338.4
  },
  "luminance": 0.02522
}

Semantic roles & 50–950 ramp

primary
#4D1640
secondary
#3A854C
accent
#DF6C49
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4D1640

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

Preview Lab → · Contrast checker → · Palette generator →

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