#4F1540#4F1540

#4F1540 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.9% C 0.102 H 339.7°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#4F1540
RGBrgb(79, 21, 64)
HSLhsl(316, 58%, 20%)
HSVhsv(316, 73%, 31%)
CMYKcmyk(0%, 73.4%, 19%, 69%)
CIE-LABlab(18.23, 32.24, -13.14)
CIE-LCHlch(18.23, 34.81, 337.83°)
OKLaboklab(30.85% 0.0957 -0.0354)
OKLCHoklch(30.85% 0.102 339.7)
XYZxyz(4.4181, 2.5692, 5.1127)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1540 #154F24
analogous
#41154F #4F1540 #4F1523
triadic
#4F1540 #404F15 #15404F
tetradic
#4F1540 #4F4115 #154F24 #15234F
square
#4F1540 #4F4115 #154F24 #15234F
split-complementary
#4F1540 #234F15 #154F41
monochromatic
#180614 #1F0819 #4F1540 #7F2267 #B02F8E

Accessibility & contrast

On white

13.87
#4F1540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1540
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1540#FFFFFF#000000##FFFFFF
##4F15401.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1540;
/* rgb */ color: rgb(79, 21, 64);
/* oklch */ color: oklch(30.9% 0.102 339.7);
Tailwind
colors: {
  custom: {
    50: '#835875',
    500: '#4f1540',
    950: '#000000',
  },
}
SCSS
$custom: #4f1540;
$custom-light: #835875;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1540",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 64
  },
  "hsl": {
    "h": 315.517,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3085,
    "c": 0.10209,
    "h": 339.7
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

primary
#4F1540
secondary
#39874D
accent
#E16F47
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4F1540

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

Preview Lab → · Contrast checker → · Palette generator →

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