#4D162A#4D162A

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

Color values

HEX#4D162A
RGBrgb(77, 22, 42)
HSLhsl(338, 56%, 19%)
HSVhsv(338, 71%, 30%)
CMYKcmyk(0%, 71.4%, 45.5%, 69.8%)
CIE-LABlab(17.08, 27.86, 0.65)
CIE-LCHlch(17.08, 27.87, 1.34°)
OKLaboklab(29.63% 0.0852 0.002)
OKLCHoklch(29.63% 0.085 1.4)
XYZxyz(3.7656, 2.3192, 2.4394)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D162A #164D39
analogous
#4D1646 #4D162A #4D1E16
triadic
#4D162A #2A4D16 #162A4D
tetradic
#4D162A #464D16 #164D39 #1E164D
square
#4D162A #464D16 #164D39 #1E164D
split-complementary
#4D162A #164D1E #16464D
monochromatic
#18070D #1D0810 #4D162A #7D2444 #AC315E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D162A#FFFFFF#000000##FFFFFF
##4D162A1.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)
#21232B
Deuteranopia (green-blind)
#2F2E29
Tritanopia (blue-blind)
#54101E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d162a;
/* rgb */ color: rgb(77, 22, 42);
/* oklch */ color: oklch(29.6% 0.085 1.4);
Tailwind
colors: {
  custom: {
    50: '#825763',
    500: '#4d162a',
    950: '#000000',
  },
}
SCSS
$custom: #4d162a;
$custom-light: #825763;
$custom-dark: #000000;
JSON
{
  "hex": "#4d162a",
  "rgb": {
    "r": 77,
    "g": 22,
    "b": 42
  },
  "hsl": {
    "h": 338.182,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29626,
    "c": 0.0852,
    "h": 1.4
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#4D162A
secondary
#3A856A
accent
#DFA849
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4D162A

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

Preview Lab → · Contrast checker → · Palette generator →

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