#4F173E#4F173E

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

Color values

HEX#4F173E
RGBrgb(79, 23, 62)
HSLhsl(318, 55%, 20%)
HSVhsv(318, 71%, 31%)
CMYKcmyk(0%, 70.9%, 21.5%, 69%)
CIE-LABlab(18.47, 30.97, -11.38)
CIE-LCHlch(18.47, 33.00, 339.83°)
OKLaboklab(30.99% 0.0925 -0.0305)
OKLCHoklch(30.99% 0.097 341.7)
XYZxyz(4.4005, 2.6233, 4.8311)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F173E #174F28
analogous
#44174F #4F173E #4F1722
triadic
#4F173E #3E4F17 #173E4F
tetradic
#4F173E #4F4417 #174F28 #17224F
square
#4F173E #4F4417 #174F28 #17224F
split-complementary
#4F173E #224F17 #174F44
monochromatic
#180713 #200919 #4F173E #7E2563 #AE3388

Accessibility & contrast

On white

13.77
#4F173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F173E
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F173E#FFFFFF#000000##FFFFFF
##4F173E1.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B273F
Deuteranopia (green-blind)
#2C303D
Tritanopia (blue-blind)
#541828
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f173e;
/* rgb */ color: rgb(79, 23, 62);
/* oklch */ color: oklch(31.0% 0.097 341.7);
Tailwind
colors: {
  custom: {
    50: '#835973',
    500: '#4f173e',
    950: '#000000',
  },
}
SCSS
$custom: #4f173e;
$custom-light: #835973;
$custom-dark: #000000;
JSON
{
  "hex": "#4f173e",
  "rgb": {
    "r": 79,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 318.214,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.30993,
    "c": 0.09739,
    "h": 341.7
  },
  "luminance": 0.02623
}

Semantic roles & 50–950 ramp

primary
#4F173E
secondary
#3C8652
accent
#DE774A
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #4F173E

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

Preview Lab → · Contrast checker → · Palette generator →

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