#4C163E#4C163E

#4C163E is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.3% C 0.097 H 339.5°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#4C163E
RGBrgb(76, 22, 62)
HSLhsl(316, 55%, 19%)
HSVhsv(316, 71%, 30%)
CMYKcmyk(0%, 71.1%, 18.4%, 70.2%)
CIE-LABlab(17.73, 30.49, -12.56)
CIE-LCHlch(17.73, 32.98, 337.61°)
OKLaboklab(30.34% 0.0904 -0.0339)
OKLCHoklch(30.34% 0.097 339.5)
XYZxyz(4.1370, 2.4585, 4.8131)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C163E #164C24
analogous
#3F164C #4C163E #4C1623
triadic
#4C163E #3E4C16 #163E4C
tetradic
#4C163E #4C3F16 #164C24 #16234C
square
#4C163E #4C3F16 #164C24 #16234C
split-complementary
#4C163E #234C16 #164C3F
monochromatic
#180713 #1D0817 #4C163E #7B2465 #AB318B

Accessibility & contrast

On white

14.08
#4C163E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4C163E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C163E
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C163E#FFFFFF#000000##FFFFFF
##4C163E1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19263F
Deuteranopia (green-blind)
#292F3D
Tritanopia (blue-blind)
#511827
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c163e;
/* rgb */ color: rgb(76, 22, 62);
/* oklch */ color: oklch(30.3% 0.097 339.5);
Tailwind
colors: {
  custom: {
    50: '#805873',
    500: '#4c163e',
    950: '#000000',
  },
}
SCSS
$custom: #4c163e;
$custom-light: #805873;
$custom-dark: #000000;
JSON
{
  "hex": "#4c163e",
  "rgb": {
    "r": 76,
    "g": 22,
    "b": 62
  },
  "hsl": {
    "h": 315.556,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30343,
    "c": 0.0965,
    "h": 339.5
  },
  "luminance": 0.02458
}

Semantic roles & 50–950 ramp

primary
#4C163E
secondary
#3A844D
accent
#DE7049
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4C163E

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

Preview Lab → · Contrast checker → · Palette generator →

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