#4D1337#4D1337

#4D1337 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.097 H 346.4°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#4D1337
RGBrgb(77, 19, 55)
HSLhsl(323, 60%, 19%)
HSVhsv(323, 75%, 30%)
CMYKcmyk(0%, 75.3%, 28.6%, 69.8%)
CIE-LABlab(17.08, 31.07, -8.61)
CIE-LCHlch(17.08, 32.25, 344.51°)
OKLaboklab(29.8% 0.0941 -0.0228)
OKLCHoklch(29.8% 0.097 346.4)
XYZxyz(3.9832, 2.3198, 3.8517)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1337 #134D29
analogous
#46134D #4D1337 #4D131A
triadic
#4D1337 #374D13 #13374D
tetradic
#4D1337 #4D4613 #134D29 #131A4D
square
#4D1337 #4D4613 #134D29 #131A4D
split-complementary
#4D1337 #1A4D13 #134D46
monochromatic
#190612 #1C0714 #4D1337 #7E1F5A #AF2B7D

Accessibility & contrast

On white

14.35
#4D1337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4D1337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1337
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1337#FFFFFF#000000##FFFFFF
##4D13371.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2438
Deuteranopia (green-blind)
#2B2E36
Tritanopia (blue-blind)
#531223
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d1337;
/* rgb */ color: rgb(77, 19, 55);
/* oklch */ color: oklch(29.8% 0.097 346.4);
Tailwind
colors: {
  custom: {
    50: '#81566d',
    500: '#4d1337',
    950: '#000000',
  },
}
SCSS
$custom: #4d1337;
$custom-light: #81566d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1337",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 55
  },
  "hsl": {
    "h": 322.759,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29797,
    "c": 0.09681,
    "h": 346.4
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#4D1337
secondary
#368654
accent
#E48144
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4D1337

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

Preview Lab → · Contrast checker → · Palette generator →

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