#7D1A54#7D1A54

#7D1A54 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.144 H 349.8°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#7D1A54
RGBrgb(125, 26, 84)
HSLhsl(325, 66%, 30%)
HSVhsv(325, 79%, 49%)
CMYKcmyk(0%, 79.2%, 32.8%, 51%)
CIE-LABlab(28.75, 46.49, -9.79)
CIE-LCHlch(28.75, 47.51, 348.10°)
OKLaboklab(40.49% 0.1422 -0.0256)
OKLCHoklch(40.49% 0.144 349.8)
XYZxyz(10.4277, 5.7401, 8.9446)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A54 #1A7D43
analogous
#741A7D #7D1A54 #7D1A23
triadic
#7D1A54 #547D1A #1A547D
tetradic
#7D1A54 #7D741A #1A7D43 #1A237D
square
#7D1A54 #7D741A #1A7D43 #1A237D
split-complementary
#7D1A54 #237D1A #1A7D74
monochromatic
#190511 #4A0F32 #7D1A54 #B02576 #D63B96

Accessibility & contrast

On white

9.78
#7D1A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7D1A54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A54
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A54#FFFFFF#000000##FFFFFF
##7D1A541.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3956
Deuteranopia (green-blind)
#484A52
Tritanopia (blue-blind)
#871335
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1a54;
/* rgb */ color: rgb(125, 26, 84);
/* oklch */ color: oklch(40.5% 0.144 349.8);
Tailwind
colors: {
  custom: {
    50: '#a76284',
    500: '#7d1a54',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a54;
$custom-light: #a76284;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a54",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 84
  },
  "hsl": {
    "h": 324.848,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40488,
    "c": 0.14445,
    "h": 349.8
  },
  "luminance": 0.05739
}

Semantic roles & 50–950 ramp

primary
#7D1A54
secondary
#42B170
accent
#E9853F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1A54

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

Preview Lab → · Contrast checker → · Palette generator →

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