#7E1451#7E1451

#7E1451 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.150 H 351.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#7E1451
RGBrgb(126, 20, 81)
HSLhsl(325, 73%, 29%)
HSVhsv(325, 84%, 49%)
CMYKcmyk(0%, 84.1%, 35.7%, 50.6%)
CIE-LABlab(28.20, 48.18, -8.62)
CIE-LCHlch(28.20, 48.95, 349.86°)
OKLaboklab(40.09% 0.1479 -0.0223)
OKLCHoklch(40.09% 0.15 351.4)
XYZxyz(10.3402, 5.5313, 8.3061)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1451 #147E41
analogous
#76147E #7E1451 #7E141C
triadic
#7E1451 #517E14 #14517E
tetradic
#7E1451 #7E7614 #147E41 #141C7E
square
#7E1451 #7E7614 #147E41 #141C7E
split-complementary
#7E1451 #1C7E14 #147E76
monochromatic
#1A0411 #490C2F #7E1451 #B31C73 #DE2E93

Accessibility & contrast

On white

9.97
#7E1451 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1451
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1451#FFFFFF#000000##FFFFFF
##7E14511.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1451;
/* rgb */ color: rgb(126, 20, 81);
/* oklch */ color: oklch(40.1% 0.150 351.4);
Tailwind
colors: {
  custom: {
    50: '#a86081',
    500: '#7e1451',
    950: '#000000',
  },
}
SCSS
$custom: #7e1451;
$custom-light: #a86081;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1451",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 81
  },
  "hsl": {
    "h": 325.472,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40085,
    "c": 0.14962,
    "h": 351.4
  },
  "luminance": 0.0553
}

Semantic roles & 50–950 ramp

primary
#7E1451
secondary
#3AB36E
accent
#EF8638
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E1451

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

Preview Lab → · Contrast checker → · Palette generator →

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