#7E156A#7E156A

#7E156A is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.4% C 0.164 H 337.5°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7E156A
RGBrgb(126, 21, 106)
HSLhsl(311, 71%, 29%)
HSVhsv(311, 83%, 49%)
CMYKcmyk(0%, 83.3%, 15.9%, 50.6%)
CIE-LABlab(29.45, 51.22, -23.04)
CIE-LCHlch(29.45, 56.17, 335.78°)
OKLaboklab(41.36% 0.1515 -0.0627)
OKLCHoklch(41.36% 0.164 337.5)
XYZxyz(11.4741, 6.0137, 14.1893)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E156A #157E29
analogous
#5E157E #7E156A #7E1536
triadic
#7E156A #6A7E15 #156A7E
tetradic
#7E156A #7E5E15 #157E29 #15367E
square
#7E156A #7E5E15 #157E29 #15367E
split-complementary
#7E156A #367E15 #157E5E
monochromatic
#1A0416 #4A0C3E #7E156A #B21E96 #DD31BC

Accessibility & contrast

On white

9.53
#7E156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E156A
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E156A#FFFFFF#000000##FFFFFF
##7E156A1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3B6C
Deuteranopia (green-blind)
#3F4B68
Tritanopia (blue-blind)
#851C3F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e156a;
/* rgb */ color: rgb(126, 21, 106);
/* oklch */ color: oklch(41.4% 0.164 337.5);
Tailwind
colors: {
  custom: {
    50: '#a76195',
    500: '#7e156a',
    950: '#000000',
  },
}
SCSS
$custom: #7e156a;
$custom-light: #a76195;
$custom-dark: #000000;
JSON
{
  "hex": "#7e156a",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 311.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41364,
    "c": 0.164,
    "h": 337.5
  },
  "luminance": 0.06013
}

Semantic roles & 50–950 ramp

primary
#7E156A
secondary
#3CB352
accent
#EE5C3A
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E156A

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

Preview Lab → · Contrast checker → · Palette generator →

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