#4D162F#4D162F

#4D162F is a dark, moderate pink. Relative luminance 0.024; OKLCH L 29.8% C 0.087 H 355.6°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#4D162F
RGBrgb(77, 22, 47)
HSLhsl(333, 56%, 19%)
HSVhsv(333, 71%, 30%)
CMYKcmyk(0%, 71.4%, 39%, 69.8%)
CIE-LABlab(17.26, 28.51, -2.66)
CIE-LCHlch(17.26, 28.64, 354.67°)
OKLaboklab(29.82% 0.0871 -0.0066)
OKLCHoklch(29.82% 0.087 355.6)
XYZxyz(3.8608, 2.3573, 2.9405)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D162F #164D34
analogous
#4D164B #4D162F #4D1816
triadic
#4D162F #2F4D16 #162F4D
tetradic
#4D162F #4B4D16 #164D34 #18164D
square
#4D162F #4B4D16 #164D34 #18164D
split-complementary
#4D162F #164D18 #164B4D
monochromatic
#18070F #1D0812 #4D162F #7D244C #AC3169

Accessibility & contrast

On white

14.27
#4D162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D162F
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D162F#FFFFFF#000000##FFFFFF
##4D162F1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2430
Deuteranopia (green-blind)
#2E2E2E
Tritanopia (blue-blind)
#531220
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d162f;
/* rgb */ color: rgb(77, 22, 47);
/* oklch */ color: oklch(29.8% 0.087 355.6);
Tailwind
colors: {
  custom: {
    50: '#825767',
    500: '#4d162f',
    950: '#000000',
  },
}
SCSS
$custom: #4d162f;
$custom-light: #825767;
$custom-dark: #000000;
JSON
{
  "hex": "#4d162f",
  "rgb": {
    "r": 77,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 332.727,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29818,
    "c": 0.08738,
    "h": 355.6
  },
  "luminance": 0.02357
}

Semantic roles & 50–950 ramp

primary
#4D162F
secondary
#3A8563
accent
#DF9B49
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4D162F

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

Preview Lab → · Contrast checker → · Palette generator →

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