#4F162D#4F162D

#4F162D is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.089 H 359.0°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#4F162D
RGBrgb(79, 22, 45)
HSLhsl(336, 56%, 20%)
HSVhsv(336, 72%, 31%)
CMYKcmyk(0%, 72.2%, 43%, 69%)
CIE-LABlab(17.58, 28.96, -0.71)
CIE-LCHlch(17.58, 28.97, 358.59°)
OKLaboklab(30.11% 0.0886 -0.0015)
OKLCHoklch(30.11% 0.089 359)
XYZxyz(3.9853, 2.4260, 2.7405)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F162D #164F38
analogous
#4F164A #4F162D #4F1B16
triadic
#4F162D #2D4F16 #162D4F
tetradic
#4F162D #4A4F16 #164F38 #1B164F
square
#4F162D #4A4F16 #164F38 #1B164F
split-complementary
#4F162D #164F1B #164A4F
monochromatic
#18070E #1F0912 #4F162D #7F2348 #AF3164

Accessibility & contrast

On white

14.14
#4F162D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F162D
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F162D#FFFFFF#000000##FFFFFF
##4F162D1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242E
Deuteranopia (green-blind)
#302F2C
Tritanopia (blue-blind)
#56101F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f162d;
/* rgb */ color: rgb(79, 22, 45);
/* oklch */ color: oklch(30.1% 0.089 359.0);
Tailwind
colors: {
  custom: {
    50: '#835765',
    500: '#4f162d',
    950: '#000000',
  },
}
SCSS
$custom: #4f162d;
$custom-light: #835765;
$custom-dark: #000000;
JSON
{
  "hex": "#4f162d",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 45
  },
  "hsl": {
    "h": 335.789,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30106,
    "c": 0.08861,
    "h": 359
  },
  "luminance": 0.02426
}

Semantic roles & 50–950 ramp

primary
#4F162D
secondary
#3A8668
accent
#E0A348
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #4F162D

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

Preview Lab → · Contrast checker → · Palette generator →

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