#4D1939#4D1939

#4D1939 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.7% C 0.089 H 345.7°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#4D1939
RGBrgb(77, 25, 57)
HSLhsl(323, 51%, 20%)
HSVhsv(323, 68%, 30%)
CMYKcmyk(0%, 67.5%, 26%, 69.8%)
CIE-LABlab(18.23, 28.49, -8.28)
CIE-LCHlch(18.23, 29.67, 343.79°)
OKLaboklab(30.67% 0.0858 -0.0219)
OKLCHoklch(30.67% 0.089 345.7)
XYZxyz(4.1469, 2.5688, 4.1475)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1939 #194D2D
analogous
#47194D #4D1939 #4D191F
triadic
#4D1939 #394D19 #19394D
tetradic
#4D1939 #4D4719 #194D2D #191F4D
square
#4D1939 #4D4719 #194D2D #191F4D
split-complementary
#4D1939 #1F4D19 #194D47
monochromatic
#170811 #1F0A17 #4D1939 #7B285B #A9377D

Accessibility & contrast

On white

13.87
#4D1939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4D1939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1939
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1939#FFFFFF#000000##FFFFFF
##4D19391.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E273A
Deuteranopia (green-blind)
#2D3038
Tritanopia (blue-blind)
#521826
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d1939;
/* rgb */ color: rgb(77, 25, 57);
/* oklch */ color: oklch(30.7% 0.089 345.7);
Tailwind
colors: {
  custom: {
    50: '#81596f',
    500: '#4d1939',
    950: '#000000',
  },
}
SCSS
$custom: #4d1939;
$custom-light: #81596f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1939",
  "rgb": {
    "r": 77,
    "g": 25,
    "b": 57
  },
  "hsl": {
    "h": 323.077,
    "s": 50.98,
    "l": 20
  },
  "oklch": {
    "l": 0.30668,
    "c": 0.08852,
    "h": 345.7
  },
  "luminance": 0.02568
}

Semantic roles & 50–950 ramp

primary
#4D1939
secondary
#3E8359
accent
#DA844D
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0A0407
muted
#7C797A

Preview Lab

Preview with #4D1939

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

Preview Lab → · Contrast checker → · Palette generator →

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