#7E1569#7E1569

#7E1569 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.3% C 0.163 H 338.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#7E1569
RGBrgb(126, 21, 105)
HSLhsl(312, 71%, 29%)
HSVhsv(312, 83%, 49%)
CMYKcmyk(0%, 83.3%, 16.7%, 50.6%)
CIE-LABlab(29.39, 51.07, -22.48)
CIE-LCHlch(29.39, 55.80, 336.25°)
OKLaboklab(41.31% 0.1514 -0.0611)
OKLCHoklch(41.31% 0.163 338)
XYZxyz(11.4224, 5.9930, 13.9171)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1569 #157E2A
analogous
#5F157E #7E1569 #7E1535
triadic
#7E1569 #697E15 #15697E
tetradic
#7E1569 #7E5F15 #157E2A #15357E
square
#7E1569 #7E5F15 #157E2A #15357E
split-complementary
#7E1569 #357E15 #157E5F
monochromatic
#1A0416 #4A0C3D #7E1569 #B21E95 #DD31BA

Accessibility & contrast

On white

9.55
#7E1569 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E1569 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1569
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1569#FFFFFF#000000##FFFFFF
##7E15691.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3B6B
Deuteranopia (green-blind)
#404B67
Tritanopia (blue-blind)
#851C3F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1569;
/* rgb */ color: rgb(126, 21, 105);
/* oklch */ color: oklch(41.3% 0.163 338.0);
Tailwind
colors: {
  custom: {
    50: '#a76194',
    500: '#7e1569',
    950: '#000000',
  },
}
SCSS
$custom: #7e1569;
$custom-light: #a76194;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1569",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 105
  },
  "hsl": {
    "h": 312,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4131,
    "c": 0.1633,
    "h": 338
  },
  "luminance": 0.05992
}

Semantic roles & 50–950 ramp

primary
#7E1569
secondary
#3CB354
accent
#EE5E3A
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1569

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

Preview Lab → · Contrast checker → · Palette generator →

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