#4F1140#4F1140

#4F1140 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.4% C 0.108 H 339.3°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#4F1140
RGBrgb(79, 17, 64)
HSLhsl(315, 65%, 19%)
HSVhsv(315, 78%, 31%)
CMYKcmyk(0%, 78.5%, 19%, 69%)
CIE-LABlab(17.62, 33.96, -14.09)
CIE-LCHlch(17.62, 36.76, 337.47°)
OKLaboklab(30.4% 0.1009 -0.0381)
OKLCHoklch(30.4% 0.108 339.3)
XYZxyz(4.3504, 2.4337, 5.0901)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1140 #114F20
analogous
#3F114F #4F1140 #4F1121
triadic
#4F1140 #404F11 #11404F
tetradic
#4F1140 #4F3F11 #114F20 #11214F
square
#4F1140 #4F3F11 #114F20 #11214F
split-complementary
#4F1140 #214F11 #114F3F
monochromatic
#190514 #1D0617 #4F1140 #811C69 #B42792

Accessibility & contrast

On white

14.13
#4F1140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1140
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1140#FFFFFF#000000##FFFFFF
##4F11401.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152541
Deuteranopia (green-blind)
#292F3F
Tritanopia (blue-blind)
#541326
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f1140;
/* rgb */ color: rgb(79, 17, 64);
/* oklch */ color: oklch(30.4% 0.108 339.3);
Tailwind
colors: {
  custom: {
    50: '#835675',
    500: '#4f1140',
    950: '#000000',
  },
}
SCSS
$custom: #4f1140;
$custom-light: #835675;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1140",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 64
  },
  "hsl": {
    "h": 314.516,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30405,
    "c": 0.10786,
    "h": 339.3
  },
  "luminance": 0.02433
}

Semantic roles & 50–950 ramp

primary
#4F1140
secondary
#338848
accent
#E86940
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4F1140

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

Preview Lab → · Contrast checker → · Palette generator →

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