#4F163E#4F163E

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

Color values

HEX#4F163E
RGBrgb(79, 22, 62)
HSLhsl(318, 56%, 20%)
HSVhsv(318, 72%, 31%)
CMYKcmyk(0%, 72.2%, 21.5%, 69%)
CIE-LABlab(18.30, 31.45, -11.64)
CIE-LCHlch(18.30, 33.53, 339.69°)
OKLaboklab(30.87% 0.0939 -0.0312)
OKLCHoklch(30.87% 0.099 341.6)
XYZxyz(4.3810, 2.5843, 4.8246)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F163E #164F27
analogous
#44164F #4F163E #4F1621
triadic
#4F163E #3E4F16 #163E4F
tetradic
#4F163E #4F4416 #164F27 #16214F
square
#4F163E #4F4416 #164F27 #16214F
split-complementary
#4F163E #214F16 #164F44
monochromatic
#180713 #1F0918 #4F163E #7F2364 #AF3189

Accessibility & contrast

On white

13.84
#4F163E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F163E
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F163E#FFFFFF#000000##FFFFFF
##4F163E1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f163e;
/* rgb */ color: rgb(79, 22, 62);
/* oklch */ color: oklch(30.9% 0.099 341.6);
Tailwind
colors: {
  custom: {
    50: '#835873',
    500: '#4f163e',
    950: '#000000',
  },
}
SCSS
$custom: #4f163e;
$custom-light: #835873;
$custom-dark: #000000;
JSON
{
  "hex": "#4f163e",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 62
  },
  "hsl": {
    "h": 317.895,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30867,
    "c": 0.09898,
    "h": 341.6
  },
  "luminance": 0.02584
}

Semantic roles & 50–950 ramp

primary
#4F163E
secondary
#3A8651
accent
#E07548
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4F163E

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

Preview Lab → · Contrast checker → · Palette generator →

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