#7E1552#7E1552

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

Color values

HEX#7E1552
RGBrgb(126, 21, 82)
HSLhsl(325, 71%, 29%)
HSVhsv(325, 83%, 49%)
CMYKcmyk(0%, 83.3%, 34.9%, 50.6%)
CIE-LABlab(28.33, 48.03, -9.08)
CIE-LCHlch(28.33, 48.88, 349.30°)
OKLaboklab(40.2% 0.1473 -0.0236)
OKLCHoklch(40.2% 0.149 350.9)
XYZxyz(10.3960, 5.5824, 8.5111)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1552 #157E41
analogous
#76157E #7E1552 #7E151D
triadic
#7E1552 #527E15 #15527E
tetradic
#7E1552 #7E7615 #157E41 #151D7E
square
#7E1552 #7E7615 #157E41 #151D7E
split-complementary
#7E1552 #1D7E15 #157E76
monochromatic
#1A0411 #4A0C30 #7E1552 #B21E74 #DD3195

Accessibility & contrast

On white

9.92
#7E1552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E1552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1552
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1552#FFFFFF#000000##FFFFFF
##7E15521.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293754
Deuteranopia (green-blind)
#474950
Tritanopia (blue-blind)
#880A32
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1552;
/* rgb */ color: rgb(126, 21, 82);
/* oklch */ color: oklch(40.2% 0.149 350.9);
Tailwind
colors: {
  custom: {
    50: '#a86082',
    500: '#7e1552',
    950: '#000000',
  },
}
SCSS
$custom: #7e1552;
$custom-light: #a86082;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1552",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 82
  },
  "hsl": {
    "h": 325.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40197,
    "c": 0.14921,
    "h": 350.9
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

primary
#7E1552
secondary
#3CB36E
accent
#EE853A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E1552

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

Preview Lab → · Contrast checker → · Palette generator →

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