#4F112A#4F112A

#4F112A is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.4% C 0.095 H 0.3°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#4F112A
RGBrgb(79, 17, 42)
HSLhsl(336, 65%, 19%)
HSVhsv(336, 78%, 31%)
CMYKcmyk(0%, 78.5%, 46.8%, 69%)
CIE-LABlab(16.65, 30.86, 0.08)
CIE-LCHlch(16.65, 30.86, 0.15°)
OKLaboklab(29.39% 0.0946 0.0006)
OKLCHoklch(29.39% 0.095 0.3)
XYZxyz(3.8431, 2.2308, 2.4183)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F112A #114F36
analogous
#4F1149 #4F112A #4F1711
triadic
#4F112A #2A4F11 #112A4F
tetradic
#4F112A #494F11 #114F36 #17114F
square
#4F112A #494F11 #114F36 #17114F
split-complementary
#4F112A #114F17 #11494F
monochromatic
#19050D #1D060F #4F112A #811C45 #B42760

Accessibility & contrast

On white

14.52
#4F112A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4F112A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F112A
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F112A#FFFFFF#000000##FFFFFF
##4F112A1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E222B
Deuteranopia (green-blind)
#2F2D29
Tritanopia (blue-blind)
#56081B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4f112a;
/* rgb */ color: rgb(79, 17, 42);
/* oklch */ color: oklch(29.4% 0.095 0.3);
Tailwind
colors: {
  custom: {
    50: '#845563',
    500: '#4f112a',
    950: '#000000',
  },
}
SCSS
$custom: #4f112a;
$custom-light: #845563;
$custom-dark: #000000;
JSON
{
  "hex": "#4f112a",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 42
  },
  "hsl": {
    "h": 335.806,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29388,
    "c": 0.09461,
    "h": 0.3
  },
  "luminance": 0.0223
}

Semantic roles & 50–950 ramp

primary
#4F112A
secondary
#338866
accent
#E8A440
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F112A

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

Preview Lab → · Contrast checker → · Palette generator →

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