#4D173B#4D173B

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

Color values

HEX#4D173B
RGBrgb(77, 23, 59)
HSLhsl(320, 54%, 20%)
HSVhsv(320, 70%, 30%)
CMYKcmyk(0%, 70.1%, 23.4%, 69.8%)
CIE-LABlab(17.95, 29.83, -10.11)
CIE-LCHlch(17.95, 31.49, 341.28°)
OKLaboklab(30.49% 0.0894 -0.027)
OKLCHoklch(30.49% 0.093 343.2)
XYZxyz(4.1565, 2.5067, 4.4018)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D173B #174D29
analogous
#44174D #4D173B #4D1720
triadic
#4D173B #3B4D17 #173B4D
tetradic
#4D173B #4D4417 #174D29 #17204D
square
#4D173B #4D4417 #174D29 #17204D
split-complementary
#4D173B #204D17 #174D44
monochromatic
#180712 #1E0917 #4D173B #7C255F #AB3383

Accessibility & contrast

On white

13.99
#4D173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D173B
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D173B#FFFFFF#000000##FFFFFF
##4D173B1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C263C
Deuteranopia (green-blind)
#2B2F3A
Tritanopia (blue-blind)
#521726
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d173b;
/* rgb */ color: rgb(77, 23, 59);
/* oklch */ color: oklch(30.5% 0.093 343.2);
Tailwind
colors: {
  custom: {
    50: '#815871',
    500: '#4d173b',
    950: '#000000',
  },
}
SCSS
$custom: #4d173b;
$custom-light: #815871;
$custom-dark: #000000;
JSON
{
  "hex": "#4d173b",
  "rgb": {
    "r": 77,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 320,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30493,
    "c": 0.09336,
    "h": 343.2
  },
  "luminance": 0.02506
}

Semantic roles & 50–950 ramp

primary
#4D173B
secondary
#3C8454
accent
#DD7B4A
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4D173B

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

Preview Lab → · Contrast checker → · Palette generator →

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