#4F163B#4F163B

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

Color values

HEX#4F163B
RGBrgb(79, 22, 59)
HSLhsl(321, 56%, 20%)
HSVhsv(321, 72%, 31%)
CMYKcmyk(0%, 72.2%, 25.3%, 69%)
CIE-LABlab(18.15, 30.96, -9.76)
CIE-LCHlch(18.15, 32.46, 342.50°)
OKLaboklab(30.72% 0.0932 -0.026)
OKLCHoklch(30.72% 0.097 344.4)
XYZxyz(4.3009, 2.5523, 4.4030)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F163B #164F2A
analogous
#47164F #4F163B #4F161E
triadic
#4F163B #3B4F16 #163B4F
tetradic
#4F163B #4F4716 #164F2A #161E4F
square
#4F163B #4F4716 #164F2A #161E4F
split-complementary
#4F163B #1E4F16 #164F47
monochromatic
#180712 #1F0917 #4F163B #7F235F #AF3183

Accessibility & contrast

On white

13.90
#4F163B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4F163B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F163B
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F163B#FFFFFF#000000##FFFFFF
##4F163B1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f163b;
/* rgb */ color: rgb(79, 22, 59);
/* oklch */ color: oklch(30.7% 0.097 344.4);
Tailwind
colors: {
  custom: {
    50: '#835871',
    500: '#4f163b',
    950: '#000000',
  },
}
SCSS
$custom: #4f163b;
$custom-light: #835871;
$custom-dark: #000000;
JSON
{
  "hex": "#4f163b",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 59
  },
  "hsl": {
    "h": 321.053,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30716,
    "c": 0.09674,
    "h": 344.4
  },
  "luminance": 0.02552
}

Semantic roles & 50–950 ramp

primary
#4F163B
secondary
#3A8655
accent
#E07D48
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4F163B

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

Preview Lab → · Contrast checker → · Palette generator →

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