#7E1565#7E1565

#7E1565 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.161 H 340.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7E1565
RGBrgb(126, 21, 101)
HSLhsl(314, 71%, 29%)
HSVhsv(314, 83%, 49%)
CMYKcmyk(0%, 83.3%, 19.8%, 50.6%)
CIE-LABlab(29.19, 50.50, -20.21)
CIE-LCHlch(29.19, 54.39, 338.19°)
OKLaboklab(41.1% 0.151 -0.0546)
OKLCHoklch(41.1% 0.161 340.1)
XYZxyz(11.2217, 5.9127, 12.8597)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1565 #157E2E
analogous
#63157E #7E1565 #7E1531
triadic
#7E1565 #657E15 #15657E
tetradic
#7E1565 #7E6315 #157E2E #15317E
square
#7E1565 #7E6315 #157E2E #15317E
split-complementary
#7E1565 #317E15 #157E63
monochromatic
#1A0415 #4A0C3B #7E1565 #B21E8F #DD31B4

Accessibility & contrast

On white

9.62
#7E1565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E1565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1565
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1565#FFFFFF#000000##FFFFFF
##7E15651.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3A67
Deuteranopia (green-blind)
#414B63
Tritanopia (blue-blind)
#86193C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1565;
/* rgb */ color: rgb(126, 21, 101);
/* oklch */ color: oklch(41.1% 0.161 340.1);
Tailwind
colors: {
  custom: {
    50: '#a76191',
    500: '#7e1565',
    950: '#000000',
  },
}
SCSS
$custom: #7e1565;
$custom-light: #a76191;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1565",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 314.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41097,
    "c": 0.16059,
    "h": 340.1
  },
  "luminance": 0.05912
}

Semantic roles & 50–950 ramp

primary
#7E1565
secondary
#3CB358
accent
#EE653A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1565

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

Preview Lab → · Contrast checker → · Palette generator →

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