#7E176A#7E176A

#7E176A is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.5% C 0.162 H 337.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7E176A
RGBrgb(126, 23, 106)
HSLhsl(312, 69%, 29%)
HSVhsv(312, 82%, 49%)
CMYKcmyk(0%, 81.7%, 15.9%, 50.6%)
CIE-LABlab(29.64, 50.67, -22.74)
CIE-LCHlch(29.64, 55.54, 335.83°)
OKLaboklab(41.5% 0.1499 -0.0619)
OKLCHoklch(41.5% 0.162 337.6)
XYZxyz(11.5124, 6.0901, 14.2021)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E176A #177E2B
analogous
#5F177E #7E176A #7E1737
triadic
#7E176A #6A7E17 #176A7E
tetradic
#7E176A #7E5F17 #177E2B #17377E
square
#7E176A #7E5F17 #177E2B #17377E
split-complementary
#7E176A #377E17 #177E5F
monochromatic
#1A0516 #4A0E3E #7E176A #B22096 #DA35BA

Accessibility & contrast

On white

9.47
#7E176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E176A
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E176A#FFFFFF#000000##FFFFFF
##7E176A1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3C6C
Deuteranopia (green-blind)
#404B68
Tritanopia (blue-blind)
#851E40
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e176a;
/* rgb */ color: rgb(126, 23, 106);
/* oklch */ color: oklch(41.5% 0.162 337.6);
Tailwind
colors: {
  custom: {
    50: '#a76295',
    500: '#7e176a',
    950: '#000000',
  },
}
SCSS
$custom: #7e176a;
$custom-light: #a76295;
$custom-dark: #000000;
JSON
{
  "hex": "#7e176a",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 311.65,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41502,
    "c": 0.16214,
    "h": 337.6
  },
  "luminance": 0.06089
}

Semantic roles & 50–950 ramp

primary
#7E176A
secondary
#3EB355
accent
#EC5E3C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E176A

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

Preview Lab → · Contrast checker → · Palette generator →

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