#4F1127#4F1127

#4F1127 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.3% C 0.094 H 3.5°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#4F1127
RGBrgb(79, 17, 39)
HSLhsl(339, 65%, 19%)
HSVhsv(339, 78%, 31%)
CMYKcmyk(0%, 78.5%, 50.6%, 69%)
CIE-LABlab(16.55, 30.52, 2.10)
CIE-LCHlch(16.55, 30.60, 3.94°)
OKLaboklab(29.28% 0.0934 0.0057)
OKLCHoklch(29.28% 0.094 3.5)
XYZxyz(3.7914, 2.2101, 2.1460)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1127 #114F39
analogous
#4F1146 #4F1127 #4F1A11
triadic
#4F1127 #274F11 #11274F
tetradic
#4F1127 #464F11 #114F39 #1A114F
square
#4F1127 #464F11 #114F39 #1A114F
split-complementary
#4F1127 #114F1A #11464F
monochromatic
#19050C #1D060E #4F1127 #811C40 #B42759

Accessibility & contrast

On white

14.56
#4F1127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4F1127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1127
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1127#FFFFFF#000000##FFFFFF
##4F11271.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2128
Deuteranopia (green-blind)
#2F2D26
Tritanopia (blue-blind)
#56071A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4f1127;
/* rgb */ color: rgb(79, 17, 39);
/* oklch */ color: oklch(29.3% 0.094 3.5);
Tailwind
colors: {
  custom: {
    50: '#845560',
    500: '#4f1127',
    950: '#000000',
  },
}
SCSS
$custom: #4f1127;
$custom-light: #845560;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1127",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 338.71,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2928,
    "c": 0.09357,
    "h": 3.5
  },
  "luminance": 0.0221
}

Semantic roles & 50–950 ramp

primary
#4F1127
secondary
#33886A
accent
#E8AC40
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F1127

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

Preview Lab → · Contrast checker → · Palette generator →

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