#7D1B56#7D1B56

#7D1B56 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.144 H 348.7°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#7D1B56
RGBrgb(125, 27, 86)
HSLhsl(324, 64%, 30%)
HSVhsv(324, 78%, 49%)
CMYKcmyk(0%, 78.4%, 31.2%, 51%)
CIE-LABlab(28.95, 46.41, -10.81)
CIE-LCHlch(28.95, 47.65, 346.89°)
OKLaboklab(40.66% 0.1416 -0.0284)
OKLCHoklch(40.66% 0.144 348.7)
XYZxyz(10.5296, 5.8169, 9.3706)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B56 #1B7D42
analogous
#731B7D #7D1B56 #7D1B25
triadic
#7D1B56 #567D1B #1B567D
tetradic
#7D1B56 #7D731B #1B7D42 #1B257D
square
#7D1B56 #7D731B #1B7D42 #1B257D
split-complementary
#7D1B56 #257D1B #1B7D73
monochromatic
#190511 #4B1033 #7D1B56 #AF2679 #D53D99

Accessibility & contrast

On white

9.71
#7D1B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7D1B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B56
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B56#FFFFFF#000000##FFFFFF
##7D1B561.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3958
Deuteranopia (green-blind)
#474A54
Tritanopia (blue-blind)
#861636
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1b56;
/* rgb */ color: rgb(125, 27, 86);
/* oklch */ color: oklch(40.7% 0.144 348.7);
Tailwind
colors: {
  custom: {
    50: '#a76285',
    500: '#7d1b56',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b56;
$custom-light: #a76285;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b56",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 323.878,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4066,
    "c": 0.14445,
    "h": 348.7
  },
  "luminance": 0.05816
}

Semantic roles & 50–950 ramp

primary
#7D1B56
secondary
#43B16F
accent
#E78340
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1B56

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

Preview Lab → · Contrast checker → · Palette generator →

#7D1B56 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva