#4F173D#4F173D

#4F173D is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.9% C 0.097 H 342.7°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#4F173D
RGBrgb(79, 23, 61)
HSLhsl(319, 55%, 20%)
HSVhsv(319, 71%, 31%)
CMYKcmyk(0%, 70.9%, 22.8%, 69%)
CIE-LABlab(18.42, 30.81, -10.75)
CIE-LCHlch(18.42, 32.63, 340.76°)
OKLaboklab(30.94% 0.0923 -0.0287)
OKLCHoklch(30.94% 0.097 342.7)
XYZxyz(4.3733, 2.6124, 4.6879)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F173D #174F29
analogous
#45174F #4F173D #4F1721
triadic
#4F173D #3D4F17 #173D4F
tetradic
#4F173D #4F4517 #174F29 #17214F
square
#4F173D #4F4517 #174F29 #17214F
split-complementary
#4F173D #214F17 #174F45
monochromatic
#180712 #200918 #4F173D #7E2562 #AE3386

Accessibility & contrast

On white

13.79
#4F173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4F173D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F173D
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F173D#FFFFFF#000000##FFFFFF
##4F173D1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C273E
Deuteranopia (green-blind)
#2C303C
Tritanopia (blue-blind)
#541727
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f173d;
/* rgb */ color: rgb(79, 23, 61);
/* oklch */ color: oklch(30.9% 0.097 342.7);
Tailwind
colors: {
  custom: {
    50: '#835972',
    500: '#4f173d',
    950: '#000000',
  },
}
SCSS
$custom: #4f173d;
$custom-light: #835972;
$custom-dark: #000000;
JSON
{
  "hex": "#4f173d",
  "rgb": {
    "r": 79,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 319.286,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.30942,
    "c": 0.09663,
    "h": 342.7
  },
  "luminance": 0.02612
}

Semantic roles & 50–950 ramp

primary
#4F173D
secondary
#3C8654
accent
#DE794A
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #4F173D

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

Preview Lab → · Contrast checker → · Palette generator →

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