#7D1F54#7D1F54

#7D1F54 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.139 H 350.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#7D1F54
RGBrgb(125, 31, 84)
HSLhsl(326, 60%, 31%)
HSVhsv(326, 75%, 49%)
CMYKcmyk(0%, 75.2%, 32.8%, 51%)
CIE-LABlab(29.36, 44.74, -8.86)
CIE-LCHlch(29.36, 45.61, 348.80°)
OKLaboklab(40.94% 0.1367 -0.023)
OKLCHoklch(40.94% 0.139 350.4)
XYZxyz(10.5482, 5.9812, 8.9848)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F54 #1F7D48
analogous
#771F7D #7D1F54 #7D1F25
triadic
#7D1F54 #547D1F #1F547D
tetradic
#7D1F54 #7D771F #1F7D48 #1F257D
square
#7D1F54 #7D771F #1F7D48 #1F257D
split-complementary
#7D1F54 #257D1F #1F7D77
monochromatic
#1B0712 #4C1333 #7D1F54 #AE2B75 #D14594

Accessibility & contrast

On white

9.56
#7D1F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7D1F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F54
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F54#FFFFFF#000000##FFFFFF
##7D1F541.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3B55
Deuteranopia (green-blind)
#494B52
Tritanopia (blue-blind)
#871936
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1f54;
/* rgb */ color: rgb(125, 31, 84);
/* oklch */ color: oklch(40.9% 0.139 350.4);
Tailwind
colors: {
  custom: {
    50: '#a66484',
    500: '#7d1f54',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f54;
$custom-light: #a66484;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f54",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 84
  },
  "hsl": {
    "h": 326.17,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4094,
    "c": 0.13862,
    "h": 350.4
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#7D1F54
secondary
#48B075
accent
#E38A44
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1F54

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

Preview Lab → · Contrast checker → · Palette generator →

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