#4D2140#4D2140

#4D2140 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.2% C 0.079 H 339.9°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#4D2140
RGBrgb(77, 33, 64)
HSLhsl(318, 40%, 22%)
HSVhsv(318, 57%, 30%)
CMYKcmyk(0%, 57.1%, 16.9%, 69.8%)
CIE-LABlab(20.19, 25.30, -10.16)
CIE-LCHlch(20.19, 27.26, 338.13°)
OKLaboklab(32.22% 0.0745 -0.0272)
OKLCHoklch(32.22% 0.079 339.9)
XYZxyz(4.5299, 3.0360, 5.1969)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2140 #214D2E
analogous
#44214D #4D2140 #4D212A
triadic
#4D2140 #404D21 #21404D
tetradic
#4D2140 #4D4421 #214D2E #212A4D
square
#4D2140 #4D4421 #214D2E #212A4D
split-complementary
#4D2140 #2A4D21 #214D44
monochromatic
#150912 #220F1C #4D2140 #783364 #A34687

Accessibility & contrast

On white

13.07
#4D2140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4D2140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2140
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2140#FFFFFF#000000##FFFFFF
##4D21401.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C41
Deuteranopia (green-blind)
#2F333F
Tritanopia (blue-blind)
#51222D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d2140;
/* rgb */ color: rgb(77, 33, 64);
/* oklch */ color: oklch(32.2% 0.079 339.9);
Tailwind
colors: {
  custom: {
    50: '#805e74',
    500: '#4d2140',
    950: '#000000',
  },
}
SCSS
$custom: #4d2140;
$custom-light: #805e74;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2140",
  "rgb": {
    "r": 77,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 317.727,
    "s": 40,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32223,
    "c": 0.07935,
    "h": 339.9
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#4D2140
secondary
#498159
accent
#D07B58
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0408
muted
#7C797B

Preview Lab

Preview with #4D2140

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

Preview Lab → · Contrast checker → · Palette generator →

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