#7E1551#7E1551

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

Color values

HEX#7E1551
RGBrgb(126, 21, 81)
HSLhsl(326, 71%, 29%)
HSVhsv(326, 83%, 49%)
CMYKcmyk(0%, 83.3%, 35.7%, 50.6%)
CIE-LABlab(28.29, 47.91, -8.47)
CIE-LCHlch(28.29, 48.65, 349.97°)
OKLaboklab(40.16% 0.1471 -0.0219)
OKLCHoklch(40.16% 0.149 351.5)
XYZxyz(10.3582, 5.5673, 8.3121)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1551 #157E42
analogous
#77157E #7E1551 #7E151D
triadic
#7E1551 #517E15 #15517E
tetradic
#7E1551 #7E7715 #157E42 #151D7E
square
#7E1551 #7E7715 #157E42 #151D7E
split-complementary
#7E1551 #1D7E15 #157E77
monochromatic
#1A0411 #4A0C2F #7E1551 #B21E73 #DD3193

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1551#FFFFFF#000000##FFFFFF
##7E15511.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)
#880931
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1551;
/* rgb */ color: rgb(126, 21, 81);
/* oklch */ color: oklch(40.2% 0.149 351.5);
Tailwind
colors: {
  custom: {
    50: '#a86081',
    500: '#7e1551',
    950: '#000000',
  },
}
SCSS
$custom: #7e1551;
$custom-light: #a86081;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1551",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 81
  },
  "hsl": {
    "h": 325.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40155,
    "c": 0.1487,
    "h": 351.5
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#7E1551
secondary
#3CB36F
accent
#EE873A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E1551

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

Preview Lab → · Contrast checker → · Palette generator →

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