#4F162F#4F162F

#4F162F is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.090 H 356.8°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#4F162F
RGBrgb(79, 22, 47)
HSLhsl(334, 56%, 20%)
HSVhsv(334, 72%, 31%)
CMYKcmyk(0%, 72.2%, 40.5%, 69%)
CIE-LABlab(17.65, 29.22, -2.03)
CIE-LCHlch(17.65, 29.29, 356.02°)
OKLaboklab(30.18% 0.0894 -0.005)
OKLCHoklch(30.18% 0.09 356.8)
XYZxyz(4.0247, 2.4418, 2.9481)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F162F #164F36
analogous
#4F164C #4F162F #4F1916
triadic
#4F162F #2F4F16 #162F4F
tetradic
#4F162F #4C4F16 #164F36 #19164F
square
#4F162F #4C4F16 #164F36 #19164F
split-complementary
#4F162F #164F19 #164C4F
monochromatic
#18070E #1F0913 #4F162F #7F234B #AF3168

Accessibility & contrast

On white

14.11
#4F162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4F162F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F162F
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F162F#FFFFFF#000000##FFFFFF
##4F162F1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202530
Deuteranopia (green-blind)
#302F2E
Tritanopia (blue-blind)
#561120
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f162f;
/* rgb */ color: rgb(79, 22, 47);
/* oklch */ color: oklch(30.2% 0.090 356.8);
Tailwind
colors: {
  custom: {
    50: '#835867',
    500: '#4f162f',
    950: '#000000',
  },
}
SCSS
$custom: #4f162f;
$custom-light: #835867;
$custom-dark: #000000;
JSON
{
  "hex": "#4f162f",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 333.684,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30184,
    "c": 0.08951,
    "h": 356.8
  },
  "luminance": 0.02441
}

Semantic roles & 50–950 ramp

primary
#4F162F
secondary
#3A8665
accent
#E09D48
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4F162F

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

Preview Lab → · Contrast checker → · Palette generator →

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