#4F1340#4F1340

#4F1340 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.105 H 339.5°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#4F1340
RGBrgb(79, 19, 64)
HSLhsl(315, 61%, 19%)
HSVhsv(315, 76%, 31%)
CMYKcmyk(0%, 75.9%, 19%, 69%)
CIE-LABlab(17.91, 33.12, -13.63)
CIE-LCHlch(17.91, 35.82, 337.64°)
OKLaboklab(30.62% 0.0984 -0.0368)
OKLCHoklch(30.62% 0.105 339.5)
XYZxyz(4.3828, 2.4986, 5.1009)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1340 #134F22
analogous
#40134F #4F1340 #4F1322
triadic
#4F1340 #404F13 #13404F
tetradic
#4F1340 #4F4013 #134F22 #13224F
square
#4F1340 #4F4013 #134F22 #13224F
split-complementary
#4F1340 #224F13 #134F40
monochromatic
#190614 #1E0718 #4F1340 #801F68 #B22B90

Accessibility & contrast

On white

14.00
#4F1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4F1340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1340
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1340#FFFFFF#000000##FFFFFF
##4F13401.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162641
Deuteranopia (green-blind)
#292F3F
Tritanopia (blue-blind)
#541527
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f1340;
/* rgb */ color: rgb(79, 19, 64);
/* oklch */ color: oklch(30.6% 0.105 339.5);
Tailwind
colors: {
  custom: {
    50: '#835775',
    500: '#4f1340',
    950: '#000000',
  },
}
SCSS
$custom: #4f1340;
$custom-light: #835775;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1340",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 315,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3062,
    "c": 0.10506,
    "h": 339.5
  },
  "luminance": 0.02498
}

Semantic roles & 50–950 ramp

primary
#4F1340
secondary
#36884B
accent
#E46C43
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4F1340

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

Preview Lab → · Contrast checker → · Palette generator →

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