#4F1342#4F1342

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

Color values

HEX#4F1342
RGBrgb(79, 19, 66)
HSLhsl(313, 61%, 19%)
HSVhsv(313, 76%, 31%)
CMYKcmyk(0%, 75.9%, 16.5%, 69%)
CIE-LABlab(18.02, 33.46, -14.86)
CIE-LCHlch(18.02, 36.61, 336.06°)
OKLaboklab(30.73% 0.0987 -0.0403)
OKLCHoklch(30.73% 0.107 337.8)
XYZxyz(4.4408, 2.5218, 5.4061)
Luminance0.0252 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1342 #134F20
analogous
#3E134F #4F1342 #4F1324
triadic
#4F1342 #424F13 #13424F
tetradic
#4F1342 #4F3E13 #134F20 #13244F
square
#4F1342 #4F3E13 #134F20 #13244F
split-complementary
#4F1342 #244F13 #134F3E
monochromatic
#190615 #1E0719 #4F1342 #801F6B #B22B94

Accessibility & contrast

On white

13.96
#4F1342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1342
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1342#FFFFFF#000000##FFFFFF
##4F13421.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152643
Deuteranopia (green-blind)
#292F41
Tritanopia (blue-blind)
#541628
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f1342;
/* rgb */ color: rgb(79, 19, 66);
/* oklch */ color: oklch(30.7% 0.107 337.8);
Tailwind
colors: {
  custom: {
    50: '#835776',
    500: '#4f1342',
    950: '#000000',
  },
}
SCSS
$custom: #4f1342;
$custom-light: #835776;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1342",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 66
  },
  "hsl": {
    "h": 313,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3073,
    "c": 0.10664,
    "h": 337.8
  },
  "luminance": 0.02521
}

Semantic roles & 50–950 ramp

primary
#4F1342
secondary
#368848
accent
#E46643
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4F1342

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

Preview Lab → · Contrast checker → · Palette generator →

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