#4D162D#4D162D

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

Color values

HEX#4D162D
RGBrgb(77, 22, 45)
HSLhsl(335, 56%, 19%)
HSVhsv(335, 71%, 30%)
CMYKcmyk(0%, 71.4%, 41.6%, 69.8%)
CIE-LABlab(17.19, 28.25, -1.34)
CIE-LCHlch(17.19, 28.28, 357.28°)
OKLaboklab(29.74% 0.0864 -0.0032)
OKLCHoklch(29.74% 0.086 357.9)
XYZxyz(3.8214, 2.3415, 2.7328)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D162D #164D36
analogous
#4D1649 #4D162D #4D1B16
triadic
#4D162D #2D4D16 #162D4D
tetradic
#4D162D #494D16 #164D36 #1B164D
square
#4D162D #494D16 #164D36 #1B164D
split-complementary
#4D162D #164D1B #16494D
monochromatic
#18070E #1D0811 #4D162D #7D2449 #AC3165

Accessibility & contrast

On white

14.30
#4D162D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D162D
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D162D#FFFFFF#000000##FFFFFF
##4D162D1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20242E
Deuteranopia (green-blind)
#2F2E2C
Tritanopia (blue-blind)
#54111F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d162d;
/* rgb */ color: rgb(77, 22, 45);
/* oklch */ color: oklch(29.7% 0.086 357.9);
Tailwind
colors: {
  custom: {
    50: '#825765',
    500: '#4d162d',
    950: '#000000',
  },
}
SCSS
$custom: #4d162d;
$custom-light: #825765;
$custom-dark: #000000;
JSON
{
  "hex": "#4d162d",
  "rgb": {
    "r": 77,
    "g": 22,
    "b": 45
  },
  "hsl": {
    "h": 334.909,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29739,
    "c": 0.08644,
    "h": 357.9
  },
  "luminance": 0.02341
}

Semantic roles & 50–950 ramp

primary
#4D162D
secondary
#3A8565
accent
#DFA049
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #4D162D

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

Preview Lab → · Contrast checker → · Palette generator →

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