#4F173C#4F173C

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

Color values

HEX#4F173C
RGBrgb(79, 23, 60)
HSLhsl(320, 55%, 20%)
HSVhsv(320, 71%, 31%)
CMYKcmyk(0%, 70.9%, 24.1%, 69%)
CIE-LABlab(18.37, 30.65, -10.13)
CIE-LCHlch(18.37, 32.28, 341.71°)
OKLaboklab(30.89% 0.092 -0.027)
OKLCHoklch(30.89% 0.096 343.6)
XYZxyz(4.3466, 2.6017, 4.5474)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F173C #174F2A
analogous
#46174F #4F173C #4F1720
triadic
#4F173C #3C4F17 #173C4F
tetradic
#4F173C #4F4617 #174F2A #17204F
square
#4F173C #4F4617 #174F2A #17204F
split-complementary
#4F173C #204F17 #174F46
monochromatic
#180712 #200918 #4F173C #7E2560 #AE3384

Accessibility & contrast

On white

13.81
#4F173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F173C
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F173C#FFFFFF#000000##FFFFFF
##4F173C1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f173c;
/* rgb */ color: rgb(79, 23, 60);
/* oklch */ color: oklch(30.9% 0.096 343.6);
Tailwind
colors: {
  custom: {
    50: '#835971',
    500: '#4f173c',
    950: '#000000',
  },
}
SCSS
$custom: #4f173c;
$custom-light: #835971;
$custom-dark: #000000;
JSON
{
  "hex": "#4f173c",
  "rgb": {
    "r": 79,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 320.357,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.30892,
    "c": 0.09587,
    "h": 343.6
  },
  "luminance": 0.02601
}

Semantic roles & 50–950 ramp

primary
#4F173C
secondary
#3C8655
accent
#DE7C4A
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #4F173C

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

Preview Lab → · Contrast checker → · Palette generator →

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