#4D163E#4D163E

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

Color values

HEX#4D163E
RGBrgb(77, 22, 62)
HSLhsl(316, 56%, 19%)
HSVhsv(316, 71%, 30%)
CMYKcmyk(0%, 71.4%, 19.5%, 69.8%)
CIE-LABlab(17.92, 30.81, -12.26)
CIE-LCHlch(17.92, 33.16, 338.31°)
OKLaboklab(30.52% 0.0916 -0.033)
OKLCHoklch(30.52% 0.097 340.2)
XYZxyz(4.2171, 2.4998, 4.8169)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D163E #164D25
analogous
#41164D #4D163E #4D1622
triadic
#4D163E #3E4D16 #163E4D
tetradic
#4D163E #4D4116 #164D25 #16224D
square
#4D163E #4D4116 #164D25 #16224D
split-complementary
#4D163E #224D16 #164D41
monochromatic
#180713 #1D0818 #4D163E #7D2464 #AC318B

Accessibility & contrast

On white

14.00
#4D163E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4D163E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D163E
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D163E#FFFFFF#000000##FFFFFF
##4D163E1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19263F
Deuteranopia (green-blind)
#2A2F3D
Tritanopia (blue-blind)
#521727
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d163e;
/* rgb */ color: rgb(77, 22, 62);
/* oklch */ color: oklch(30.5% 0.097 340.2);
Tailwind
colors: {
  custom: {
    50: '#815873',
    500: '#4d163e',
    950: '#000000',
  },
}
SCSS
$custom: #4d163e;
$custom-light: #815873;
$custom-dark: #000000;
JSON
{
  "hex": "#4d163e",
  "rgb": {
    "r": 77,
    "g": 22,
    "b": 62
  },
  "hsl": {
    "h": 316.364,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30517,
    "c": 0.09732,
    "h": 340.2
  },
  "luminance": 0.02499
}

Semantic roles & 50–950 ramp

primary
#4D163E
secondary
#3A854F
accent
#DF7249
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4D163E

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

Preview Lab → · Contrast checker → · Palette generator →

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