#4F162B#4F162B

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

Color values

HEX#4F162B
RGBrgb(79, 22, 43)
HSLhsl(338, 56%, 20%)
HSVhsv(338, 72%, 31%)
CMYKcmyk(0%, 72.2%, 45.6%, 69%)
CIE-LABlab(17.51, 28.71, 0.61)
CIE-LCHlch(17.51, 28.72, 1.22°)
OKLaboklab(30.03% 0.0878 0.0019)
OKLCHoklch(30.03% 0.088 1.3)
XYZxyz(3.9477, 2.4110, 2.5425)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F162B #164F3A
analogous
#4F1648 #4F162B #4F1E16
triadic
#4F162B #2B4F16 #162B4F
tetradic
#4F162B #484F16 #164F3A #1E164F
square
#4F162B #484F16 #164F3A #1E164F
split-complementary
#4F162B #164F1E #16484F
monochromatic
#18070D #1F0911 #4F162B #7F2345 #AF315F

Accessibility & contrast

On white

14.17
#4F162B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F162B
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F162B#FFFFFF#000000##FFFFFF
##4F162B1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242C
Deuteranopia (green-blind)
#302F2A
Tritanopia (blue-blind)
#560F1E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f162b;
/* rgb */ color: rgb(79, 22, 43);
/* oklch */ color: oklch(30.0% 0.088 1.3);
Tailwind
colors: {
  custom: {
    50: '#845764',
    500: '#4f162b',
    950: '#000000',
  },
}
SCSS
$custom: #4f162b;
$custom-light: #845764;
$custom-dark: #000000;
JSON
{
  "hex": "#4f162b",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 337.895,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30032,
    "c": 0.08783,
    "h": 1.3
  },
  "luminance": 0.02411
}

Semantic roles & 50–950 ramp

primary
#4F162B
secondary
#3A866A
accent
#E0A848
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F162B

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

Preview Lab → · Contrast checker → · Palette generator →

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