#4F162A#4F162A

#4F162A is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.0% C 0.087 H 2.4°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#4F162A
RGBrgb(79, 22, 42)
HSLhsl(339, 56%, 20%)
HSVhsv(339, 72%, 31%)
CMYKcmyk(0%, 72.2%, 46.8%, 69%)
CIE-LABlab(17.48, 28.59, 1.28)
CIE-LCHlch(17.48, 28.62, 2.56°)
OKLaboklab(30% 0.0874 0.0036)
OKLCHoklch(30% 0.087 2.4)
XYZxyz(3.9296, 2.4037, 2.4471)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F162A #164F3B
analogous
#4F1647 #4F162A #4F1E16
triadic
#4F162A #2A4F16 #162A4F
tetradic
#4F162A #474F16 #164F3B #1E164F
square
#4F162A #474F16 #164F3B #1E164F
split-complementary
#4F162A #164F1E #16474F
monochromatic
#18070D #1F0911 #4F162A #7F2343 #AF315D

Accessibility & contrast

On white

14.18
#4F162A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4F162A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F162A
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F162A#FFFFFF#000000##FFFFFF
##4F162A1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22242B
Deuteranopia (green-blind)
#312F29
Tritanopia (blue-blind)
#560F1E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f162a;
/* rgb */ color: rgb(79, 22, 42);
/* oklch */ color: oklch(30.0% 0.087 2.4);
Tailwind
colors: {
  custom: {
    50: '#845763',
    500: '#4f162a',
    950: '#000000',
  },
}
SCSS
$custom: #4f162a;
$custom-light: #845763;
$custom-dark: #000000;
JSON
{
  "hex": "#4f162a",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 42
  },
  "hsl": {
    "h": 338.947,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29996,
    "c": 0.08748,
    "h": 2.4
  },
  "luminance": 0.02403
}

Semantic roles & 50–950 ramp

primary
#4F162A
secondary
#3A866C
accent
#E0AB48
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F162A

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

Preview Lab → · Contrast checker → · Palette generator →

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