#4D1D37#4D1D37

#4D1D37 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.2% C 0.080 H 349.1°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#4D1D37
RGBrgb(77, 29, 55)
HSLhsl(328, 45%, 21%)
HSVhsv(328, 62%, 30%)
CMYKcmyk(0%, 62.3%, 28.6%, 69.8%)
CIE-LABlab(18.94, 26.02, -5.80)
CIE-LCHlch(18.94, 26.66, 347.43°)
OKLaboklab(31.17% 0.0786 -0.0152)
OKLCHoklch(31.17% 0.08 349.1)
XYZxyz(4.1897, 2.7327, 3.9205)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1D37 #1D4D33
analogous
#4B1D4D #4D1D37 #4D1D1F
triadic
#4D1D37 #374D1D #1D374D
tetradic
#4D1D37 #4D4B1D #1D4D33 #1D1F4D
square
#4D1D37 #4D4B1D #1D4D33 #1D1F4D
split-complementary
#4D1D37 #1F4D1D #1D4D4B
monochromatic
#160810 #210C17 #4D1D37 #792E57 #A63E77

Accessibility & contrast

On white

13.58
#4D1D37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4D1D37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1D37
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1D37#FFFFFF#000000##FFFFFF
##4D1D371.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232938
Deuteranopia (green-blind)
#303136
Tritanopia (blue-blind)
#521B27
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d1d37;
/* rgb */ color: rgb(77, 29, 55);
/* oklch */ color: oklch(31.2% 0.080 349.1);
Tailwind
colors: {
  custom: {
    50: '#815c6d',
    500: '#4d1d37',
    950: '#000000',
  },
}
SCSS
$custom: #4d1d37;
$custom-light: #815c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1d37",
  "rgb": {
    "r": 77,
    "g": 29,
    "b": 55
  },
  "hsl": {
    "h": 327.5,
    "s": 45.283,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31168,
    "c": 0.08002,
    "h": 349.1
  },
  "luminance": 0.02732
}

Semantic roles & 50–950 ramp

primary
#4D1D37
secondary
#448260
accent
#D58E53
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0A0407
muted
#7C797A

Preview Lab

Preview with #4D1D37

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

Preview Lab → · Contrast checker → · Palette generator →

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