#4D162B#4D162B

#4D162B is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.086 H 0.2°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#4D162B
RGBrgb(77, 22, 43)
HSLhsl(337, 56%, 19%)
HSVhsv(337, 71%, 30%)
CMYKcmyk(0%, 71.4%, 44.2%, 69.8%)
CIE-LABlab(17.12, 27.99, -0.01)
CIE-LCHlch(17.12, 27.99, 359.97°)
OKLaboklab(29.66% 0.0856 0.0003)
OKLCHoklch(29.66% 0.086 0.2)
XYZxyz(3.7838, 2.3265, 2.5348)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D162B #164D38
analogous
#4D1647 #4D162B #4D1D16
triadic
#4D162B #2B4D16 #162B4D
tetradic
#4D162B #474D16 #164D38 #1D164D
square
#4D162B #474D16 #164D38 #1D164D
split-complementary
#4D162B #164D1D #16474D
monochromatic
#18070D #1D0810 #4D162B #7D2446 #AC3160

Accessibility & contrast

On white

14.33
#4D162B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4D162B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D162B
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D162B#FFFFFF#000000##FFFFFF
##4D162B1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20232C
Deuteranopia (green-blind)
#2F2E2A
Tritanopia (blue-blind)
#54101E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d162b;
/* rgb */ color: rgb(77, 22, 43);
/* oklch */ color: oklch(29.7% 0.086 0.2);
Tailwind
colors: {
  custom: {
    50: '#825764',
    500: '#4d162b',
    950: '#000000',
  },
}
SCSS
$custom: #4d162b;
$custom-light: #825764;
$custom-dark: #000000;
JSON
{
  "hex": "#4d162b",
  "rgb": {
    "r": 77,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 337.091,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29663,
    "c": 0.08559,
    "h": 0.2
  },
  "luminance": 0.02326
}

Semantic roles & 50–950 ramp

primary
#4D162B
secondary
#3A8568
accent
#DFA649
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4D162B

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

Preview Lab → · Contrast checker → · Palette generator →

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