#4F1440#4F1440

#4F1440 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.7% C 0.104 H 339.6°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#4F1440
RGBrgb(79, 20, 64)
HSLhsl(315, 60%, 19%)
HSVhsv(315, 75%, 31%)
CMYKcmyk(0%, 74.7%, 19%, 69%)
CIE-LABlab(18.07, 32.69, -13.39)
CIE-LCHlch(18.07, 35.32, 337.73°)
OKLaboklab(30.73% 0.0971 -0.0361)
OKLCHoklch(30.73% 0.104 339.6)
XYZxyz(4.4001, 2.5332, 5.1067)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1440 #144F23
analogous
#41144F #4F1440 #4F1423
triadic
#4F1440 #404F14 #14404F
tetradic
#4F1440 #4F4114 #144F23 #14234F
square
#4F1440 #4F4114 #144F23 #14234F
split-complementary
#4F1440 #234F14 #144F41
monochromatic
#180614 #1E0818 #4F1440 #802068 #B12D8F

Accessibility & contrast

On white

13.94
#4F1440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4F1440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1440
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1440#FFFFFF#000000##FFFFFF
##4F14401.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172641
Deuteranopia (green-blind)
#2A303F
Tritanopia (blue-blind)
#541628
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f1440;
/* rgb */ color: rgb(79, 20, 64);
/* oklch */ color: oklch(30.7% 0.104 339.6);
Tailwind
colors: {
  custom: {
    50: '#835775',
    500: '#4f1440',
    950: '#000000',
  },
}
SCSS
$custom: #4f1440;
$custom-light: #835775;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1440",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 64
  },
  "hsl": {
    "h": 315.254,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30733,
    "c": 0.10359,
    "h": 339.6
  },
  "luminance": 0.02533
}

Semantic roles & 50–950 ramp

primary
#4F1440
secondary
#38874C
accent
#E36D45
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4F1440

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

Preview Lab → · Contrast checker → · Palette generator →

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