#7D1A57#7D1A57

#7D1A57 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.146 H 348.0°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7D1A57
RGBrgb(125, 26, 87)
HSLhsl(323, 66%, 30%)
HSVhsv(323, 79%, 49%)
CMYKcmyk(0%, 79.2%, 30.4%, 51%)
CIE-LABlab(28.87, 46.86, -11.58)
CIE-LCHlch(28.87, 48.27, 346.12°)
OKLaboklab(40.62% 0.1429 -0.0305)
OKLCHoklch(40.62% 0.146 348)
XYZxyz(10.5477, 5.7881, 9.5767)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A57 #1A7D40
analogous
#721A7D #7D1A57 #7D1A26
triadic
#7D1A57 #577D1A #1A577D
tetradic
#7D1A57 #7D721A #1A7D40 #1A267D
square
#7D1A57 #7D721A #1A7D40 #1A267D
split-complementary
#7D1A57 #267D1A #1A7D72
monochromatic
#190512 #4A0F34 #7D1A57 #B0257A #D63B9B

Accessibility & contrast

On white

9.73
#7D1A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1A57
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A57#FFFFFF#000000##FFFFFF
##7D1A571.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293959
Deuteranopia (green-blind)
#474A55
Tritanopia (blue-blind)
#861536
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1a57;
/* rgb */ color: rgb(125, 26, 87);
/* oklch */ color: oklch(40.6% 0.146 348.0);
Tailwind
colors: {
  custom: {
    50: '#a76286',
    500: '#7d1a57',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a57;
$custom-light: #a76286;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a57",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 87
  },
  "hsl": {
    "h": 323.03,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4062,
    "c": 0.14614,
    "h": 348
  },
  "luminance": 0.05787
}

Semantic roles & 50–950 ramp

primary
#7D1A57
secondary
#42B16C
accent
#E9803F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1A57

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

Preview Lab → · Contrast checker → · Palette generator →

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