#7D1451#7D1451

#7D1451 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.149 H 351.0°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#7D1451
RGBrgb(125, 20, 81)
HSLhsl(325, 72%, 28%)
HSVhsv(325, 84%, 49%)
CMYKcmyk(0%, 84%, 35.2%, 51%)
CIE-LABlab(28.00, 47.92, -8.94)
CIE-LCHlch(28.00, 48.75, 349.43°)
OKLaboklab(39.9% 0.1471 -0.0232)
OKLCHoklch(39.9% 0.149 351)
XYZxyz(10.1934, 5.4556, 8.2992)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1451 #147D40
analogous
#74147D #7D1451 #7D141C
triadic
#7D1451 #517D14 #14517D
tetradic
#7D1451 #7D7414 #147D40 #141C7D
square
#7D1451 #7D7414 #147D40 #141C7D
split-complementary
#7D1451 #1C7D14 #147D74
monochromatic
#1A0411 #480C2F #7D1451 #B21C73 #DE2E94

Accessibility & contrast

On white

10.04
#7D1451 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7D1451 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1451
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1451#FFFFFF#000000##FFFFFF
##7D14511.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293652
Deuteranopia (green-blind)
#47494F
Tritanopia (blue-blind)
#870831
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1451;
/* rgb */ color: rgb(125, 20, 81);
/* oklch */ color: oklch(39.9% 0.149 351.0);
Tailwind
colors: {
  custom: {
    50: '#a75f81',
    500: '#7d1451',
    950: '#000000',
  },
}
SCSS
$custom: #7d1451;
$custom-light: #a75f81;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1451",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 81
  },
  "hsl": {
    "h": 325.143,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39902,
    "c": 0.14888,
    "h": 351
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#7D1451
secondary
#3AB26D
accent
#EF8539
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7D1451

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

Preview Lab → · Contrast checker → · Palette generator →

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