#7D1A4F#7D1A4F

#7D1A4F is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.142 H 353.0°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#7D1A4F
RGBrgb(125, 26, 79)
HSLhsl(328, 66%, 30%)
HSVhsv(328, 79%, 49%)
CMYKcmyk(0%, 79.2%, 36.8%, 51%)
CIE-LABlab(28.55, 45.88, -6.78)
CIE-LCHlch(28.55, 46.38, 351.59°)
OKLaboklab(40.28% 0.1408 -0.0174)
OKLCHoklch(40.28% 0.142 353)
XYZxyz(10.2388, 5.6645, 7.9498)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A4F #1A7D48
analogous
#7A1A7D #7D1A4F #7D1A1D
triadic
#7D1A4F #4F7D1A #1A4F7D
tetradic
#7D1A4F #7D7A1A #1A7D48 #1A1D7D
square
#7D1A4F #7D7A1A #1A7D48 #1A1D7D
split-complementary
#7D1A4F #1D7D1A #1A7D7A
monochromatic
#190510 #4A0F2F #7D1A4F #B0256F #D63B8E

Accessibility & contrast

On white

9.85
#7D1A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7D1A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A4F
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A4F#FFFFFF#000000##FFFFFF
##7D1A4F1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3850
Deuteranopia (green-blind)
#494A4D
Tritanopia (blue-blind)
#871032
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1a4f;
/* rgb */ color: rgb(125, 26, 79);
/* oklch */ color: oklch(40.3% 0.142 353.0);
Tailwind
colors: {
  custom: {
    50: '#a76280',
    500: '#7d1a4f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a4f;
$custom-light: #a76280;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a4f",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 79
  },
  "hsl": {
    "h": 327.879,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4028,
    "c": 0.14186,
    "h": 353
  },
  "luminance": 0.05663
}

Semantic roles & 50–950 ramp

primary
#7D1A4F
secondary
#42B175
accent
#E98E3F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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