#4D163F#4D163F

#4D163F is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.098 H 339.3°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#4D163F
RGBrgb(77, 22, 63)
HSLhsl(315, 56%, 19%)
HSVhsv(315, 71%, 30%)
CMYKcmyk(0%, 71.4%, 18.2%, 69.8%)
CIE-LABlab(17.97, 30.98, -12.88)
CIE-LCHlch(17.97, 33.55, 337.43°)
OKLaboklab(30.57% 0.0918 -0.0347)
OKLCHoklch(30.57% 0.098 339.3)
XYZxyz(4.2448, 2.5109, 4.9627)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D163F #164D24
analogous
#40164D #4D163F #4D1624
triadic
#4D163F #3F4D16 #163F4D
tetradic
#4D163F #4D4016 #164D24 #16244D
square
#4D163F #4D4016 #164D24 #16244D
split-complementary
#4D163F #244D16 #164D40
monochromatic
#180713 #1D0818 #4D163F #7D2466 #AC318D

Accessibility & contrast

On white

13.98
#4D163F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D163F
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D163F#FFFFFF#000000##FFFFFF
##4D163F1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192640
Deuteranopia (green-blind)
#2A2F3E
Tritanopia (blue-blind)
#521828
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d163f;
/* rgb */ color: rgb(77, 22, 63);
/* oklch */ color: oklch(30.6% 0.098 339.3);
Tailwind
colors: {
  custom: {
    50: '#815874',
    500: '#4d163f',
    950: '#000000',
  },
}
SCSS
$custom: #4d163f;
$custom-light: #815874;
$custom-dark: #000000;
JSON
{
  "hex": "#4d163f",
  "rgb": {
    "r": 77,
    "g": 22,
    "b": 63
  },
  "hsl": {
    "h": 315.273,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3057,
    "c": 0.09813,
    "h": 339.3
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#4D163F
secondary
#3A854D
accent
#DF6F49
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4D163F

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

Preview Lab → · Contrast checker → · Palette generator →

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