#4C162A#4C162A

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

Color values

HEX#4C162A
RGBrgb(76, 22, 42)
HSLhsl(338, 55%, 19%)
HSVhsv(338, 71%, 30%)
CMYKcmyk(0%, 71.1%, 44.7%, 70.2%)
CIE-LABlab(16.88, 27.50, 0.34)
CIE-LCHlch(16.88, 27.50, 0.71°)
OKLaboklab(29.44% 0.0841 0.0012)
OKLCHoklch(29.44% 0.084 0.8)
XYZxyz(3.6856, 2.2779, 2.4356)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C162A #164C38
analogous
#4C1645 #4C162A #4C1D16
triadic
#4C162A #2A4C16 #162A4C
tetradic
#4C162A #454C16 #164C38 #1D164C
square
#4C162A #454C16 #164C38 #1D164C
split-complementary
#4C162A #164C1D #16454C
monochromatic
#18070D #1D0810 #4C162A #7B2444 #AB315E

Accessibility & contrast

On white

14.43
#4C162A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C162A
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C162A#FFFFFF#000000##FFFFFF
##4C162A1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c162a;
/* rgb */ color: rgb(76, 22, 42);
/* oklch */ color: oklch(29.4% 0.084 0.8);
Tailwind
colors: {
  custom: {
    50: '#815763',
    500: '#4c162a',
    950: '#000000',
  },
}
SCSS
$custom: #4c162a;
$custom-light: #815763;
$custom-dark: #000000;
JSON
{
  "hex": "#4c162a",
  "rgb": {
    "r": 76,
    "g": 22,
    "b": 42
  },
  "hsl": {
    "h": 337.778,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29442,
    "c": 0.08407,
    "h": 0.8
  },
  "luminance": 0.02277
}

Semantic roles & 50–950 ramp

primary
#4C162A
secondary
#3A8468
accent
#DEA749
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4C162A

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

Preview Lab → · Contrast checker → · Palette generator →

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