#7D1751#7D1751

#7D1751 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.146 H 351.3°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#7D1751
RGBrgb(125, 23, 81)
HSLhsl(326, 69%, 29%)
HSVhsv(326, 82%, 49%)
CMYKcmyk(0%, 81.6%, 35.2%, 51%)
CIE-LABlab(28.30, 47.06, -8.49)
CIE-LCHlch(28.30, 47.82, 349.77°)
OKLaboklab(40.12% 0.1443 -0.022)
OKLCHoklch(40.12% 0.146 351.3)
XYZxyz(10.2497, 5.5681, 8.3180)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1751 #177D43
analogous
#76177D #7D1751 #7D171E
triadic
#7D1751 #517D17 #17517D
tetradic
#7D1751 #7D7617 #177D43 #171E7D
square
#7D1751 #7D7617 #177D43 #171E7D
split-complementary
#7D1751 #1E7D17 #177D76
monochromatic
#1A0511 #490D30 #7D1751 #B12172 #DA3593

Accessibility & contrast

On white

9.94
#7D1751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7D1751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1751
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1751#FFFFFF#000000##FFFFFF
##7D17511.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3752
Deuteranopia (green-blind)
#48494F
Tritanopia (blue-blind)
#870D32
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1751;
/* rgb */ color: rgb(125, 23, 81);
/* oklch */ color: oklch(40.1% 0.146 351.3);
Tailwind
colors: {
  custom: {
    50: '#a76181',
    500: '#7d1751',
    950: '#000000',
  },
}
SCSS
$custom: #7d1751;
$custom-light: #a76181;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1751",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 81
  },
  "hsl": {
    "h": 325.882,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4012,
    "c": 0.14601,
    "h": 351.3
  },
  "luminance": 0.05567
}

Semantic roles & 50–950 ramp

primary
#7D1751
secondary
#3EB270
accent
#EC883C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7D1751

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

Preview Lab → · Contrast checker → · Palette generator →

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