#4F173A#4F173A

#4F173A is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.8% C 0.094 H 345.6°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#4F173A
RGBrgb(79, 23, 58)
HSLhsl(323, 55%, 20%)
HSVhsv(323, 71%, 31%)
CMYKcmyk(0%, 70.9%, 26.6%, 69%)
CIE-LABlab(18.28, 30.32, -8.87)
CIE-LCHlch(18.28, 31.59, 343.70°)
OKLaboklab(30.8% 0.0915 -0.0235)
OKLCHoklch(30.8% 0.094 345.6)
XYZxyz(4.2947, 2.5810, 4.2742)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F173A #174F2C
analogous
#48174F #4F173A #4F171E
triadic
#4F173A #3A4F17 #173A4F
tetradic
#4F173A #4F4817 #174F2C #171E4F
square
#4F173A #4F4817 #174F2C #171E4F
split-complementary
#4F173A #1E4F17 #174F48
monochromatic
#180711 #200917 #4F173A #7E255D #AE3380

Accessibility & contrast

On white

13.85
#4F173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F173A
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F173A#FFFFFF#000000##FFFFFF
##4F173A1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D273B
Deuteranopia (green-blind)
#2D3039
Tritanopia (blue-blind)
#551626
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f173a;
/* rgb */ color: rgb(79, 23, 58);
/* oklch */ color: oklch(30.8% 0.094 345.6);
Tailwind
colors: {
  custom: {
    50: '#835870',
    500: '#4f173a',
    950: '#000000',
  },
}
SCSS
$custom: #4f173a;
$custom-light: #835870;
$custom-dark: #000000;
JSON
{
  "hex": "#4f173a",
  "rgb": {
    "r": 79,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 322.5,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.30795,
    "c": 0.09443,
    "h": 345.6
  },
  "luminance": 0.02581
}

Semantic roles & 50–950 ramp

primary
#4F173A
secondary
#3C8658
accent
#DE814A
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #4F173A

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

Preview Lab → · Contrast checker → · Palette generator →

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