#4C162B#4C162B

#4C162B is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.5% C 0.084 H 359.7°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#4C162B
RGBrgb(76, 22, 43)
HSLhsl(337, 55%, 19%)
HSVhsv(337, 71%, 30%)
CMYKcmyk(0%, 71.1%, 43.4%, 70.2%)
CIE-LABlab(16.92, 27.63, -0.32)
CIE-LCHlch(16.92, 27.63, 359.33°)
OKLaboklab(29.48% 0.0845 -0.0005)
OKLCHoklch(29.48% 0.084 359.7)
XYZxyz(3.7037, 2.2852, 2.5311)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C162B #164C37
analogous
#4C1646 #4C162B #4C1C16
triadic
#4C162B #2B4C16 #162B4C
tetradic
#4C162B #464C16 #164C37 #1C164C
square
#4C162B #464C16 #164C37 #1C164C
split-complementary
#4C162B #164C1C #16464C
monochromatic
#18070D #1D0810 #4C162B #7B2446 #AB3161

Accessibility & contrast

On white

14.41
#4C162B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C162B
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C162B#FFFFFF#000000##FFFFFF
##4C162B1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c162b;
/* rgb */ color: rgb(76, 22, 43);
/* oklch */ color: oklch(29.5% 0.084 359.7);
Tailwind
colors: {
  custom: {
    50: '#815764',
    500: '#4c162b',
    950: '#000000',
  },
}
SCSS
$custom: #4c162b;
$custom-light: #815764;
$custom-dark: #000000;
JSON
{
  "hex": "#4c162b",
  "rgb": {
    "r": 76,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 336.667,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29479,
    "c": 0.08447,
    "h": 359.7
  },
  "luminance": 0.02285
}

Semantic roles & 50–950 ramp

primary
#4C162B
secondary
#3A8467
accent
#DEA449
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4C162B

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

Preview Lab → · Contrast checker → · Palette generator →

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