#4D1340#4D1340

#4D1340 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.104 H 338.1°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#4D1340
RGBrgb(77, 19, 64)
HSLhsl(313, 60%, 19%)
HSVhsv(313, 75%, 30%)
CMYKcmyk(0%, 75.3%, 16.9%, 69.8%)
CIE-LABlab(17.53, 32.53, -14.26)
CIE-LCHlch(17.53, 35.52, 336.33°)
OKLaboklab(30.26% 0.0961 -0.0386)
OKLCHoklch(30.26% 0.104 338.1)
XYZxyz(4.2189, 2.4141, 5.0933)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1340 #134D20
analogous
#3D134D #4D1340 #4D1323
triadic
#4D1340 #404D13 #13404D
tetradic
#4D1340 #4D3D13 #134D20 #13234D
square
#4D1340 #4D3D13 #134D20 #13234D
split-complementary
#4D1340 #234D13 #134D3D
monochromatic
#190614 #1C0717 #4D1340 #7E1F69 #AF2B92

Accessibility & contrast

On white

14.16
#4D1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4D1340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1340
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1340#FFFFFF#000000##FFFFFF
##4D13401.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152541
Deuteranopia (green-blind)
#282E3F
Tritanopia (blue-blind)
#521627
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d1340;
/* rgb */ color: rgb(77, 19, 64);
/* oklch */ color: oklch(30.3% 0.104 338.1);
Tailwind
colors: {
  custom: {
    50: '#815675',
    500: '#4d1340',
    950: '#000000',
  },
}
SCSS
$custom: #4d1340;
$custom-light: #815675;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1340",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 313.448,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30265,
    "c": 0.10355,
    "h": 338.1
  },
  "luminance": 0.02414
}

Semantic roles & 50–950 ramp

primary
#4D1340
secondary
#368648
accent
#E46844
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4D1340

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

Preview Lab → · Contrast checker → · Palette generator →

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