#4F163F#4F163F

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

Color values

HEX#4F163F
RGBrgb(79, 22, 63)
HSLhsl(317, 56%, 20%)
HSVhsv(317, 72%, 31%)
CMYKcmyk(0%, 72.2%, 20.3%, 69%)
CIE-LABlab(18.34, 31.61, -12.26)
CIE-LCHlch(18.34, 33.91, 338.80°)
OKLaboklab(30.92% 0.0941 -0.033)
OKLCHoklch(30.92% 0.1 340.7)
XYZxyz(4.4087, 2.5954, 4.9704)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F163F #164F26
analogous
#43164F #4F163F #4F1623
triadic
#4F163F #3F4F16 #163F4F
tetradic
#4F163F #4F4316 #164F26 #16234F
square
#4F163F #4F4316 #164F26 #16234F
split-complementary
#4F163F #234F16 #164F43
monochromatic
#180713 #1F0919 #4F163F #7F2365 #AF318B

Accessibility & contrast

On white

13.82
#4F163F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F163F
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F163F#FFFFFF#000000##FFFFFF
##4F163F1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2740
Deuteranopia (green-blind)
#2B303E
Tritanopia (blue-blind)
#541728
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f163f;
/* rgb */ color: rgb(79, 22, 63);
/* oklch */ color: oklch(30.9% 0.100 340.7);
Tailwind
colors: {
  custom: {
    50: '#835874',
    500: '#4f163f',
    950: '#000000',
  },
}
SCSS
$custom: #4f163f;
$custom-light: #835874;
$custom-dark: #000000;
JSON
{
  "hex": "#4f163f",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 63
  },
  "hsl": {
    "h": 316.842,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30919,
    "c": 0.09975,
    "h": 340.7
  },
  "luminance": 0.02595
}

Semantic roles & 50–950 ramp

primary
#4F163F
secondary
#3A8650
accent
#E07348
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4F163F

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

Preview Lab → · Contrast checker → · Palette generator →

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