#4B1540#4B1540

#4B1540 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.099 H 336.8°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#4B1540
RGBrgb(75, 21, 64)
HSLhsl(312, 56%, 19%)
HSVhsv(312, 72%, 29%)
CMYKcmyk(0%, 72%, 14.7%, 70.6%)
CIE-LABlab(17.47, 31.01, -14.37)
CIE-LCHlch(17.47, 34.18, 335.13°)
OKLaboklab(30.15% 0.091 -0.039)
OKLCHoklch(30.15% 0.099 336.8)
XYZxyz(4.0953, 2.4027, 5.0976)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1540 #154B20
analogous
#3B154B #4B1540 #4B1525
triadic
#4B1540 #404B15 #15404B
tetradic
#4B1540 #4B3B15 #154B20 #15254B
square
#4B1540 #4B3B15 #154B20 #15254B
split-complementary
#4B1540 #254B15 #154B3B
monochromatic
#180714 #1B0817 #4B1540 #7B2269 #AB3092

Accessibility & contrast

On white

14.19
#4B1540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4B1540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1540
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1540#FFFFFF#000000##FFFFFF
##4B15401.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162641
Deuteranopia (green-blind)
#272E3F
Tritanopia (blue-blind)
#4F1828
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4b1540;
/* rgb */ color: rgb(75, 21, 64);
/* oklch */ color: oklch(30.2% 0.099 336.8);
Tailwind
colors: {
  custom: {
    50: '#7f5775',
    500: '#4b1540',
    950: '#000000',
  },
}
SCSS
$custom: #4b1540;
$custom-light: #7f5775;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1540",
  "rgb": {
    "r": 75,
    "g": 21,
    "b": 64
  },
  "hsl": {
    "h": 312.222,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30153,
    "c": 0.09897,
    "h": 336.8
  },
  "luminance": 0.02402
}

Semantic roles & 50–950 ramp

primary
#4B1540
secondary
#398348
accent
#E06748
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4B1540

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

Preview Lab → · Contrast checker → · Palette generator →

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