#7E146A#7E146A

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

Color values

HEX#7E146A
RGBrgb(126, 20, 106)
HSLhsl(311, 73%, 29%)
HSVhsv(311, 84%, 49%)
CMYKcmyk(0%, 84.1%, 15.9%, 50.6%)
CIE-LABlab(29.36, 51.48, -23.18)
CIE-LCHlch(29.36, 56.46, 335.76°)
OKLaboklab(41.3% 0.1523 -0.0631)
OKLCHoklch(41.3% 0.165 337.5)
XYZxyz(11.4561, 5.9777, 14.1833)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E146A #147E28
analogous
#5D147E #7E146A #7E1435
triadic
#7E146A #6A7E14 #146A7E
tetradic
#7E146A #7E5D14 #147E28 #14357E
square
#7E146A #7E5D14 #147E28 #14357E
split-complementary
#7E146A #357E14 #147E5D
monochromatic
#1A0416 #490C3E #7E146A #B31C96 #DE2EBD

Accessibility & contrast

On white

9.57
#7E146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E146A
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E146A#FFFFFF#000000##FFFFFF
##7E146A1.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e146a;
/* rgb */ color: rgb(126, 20, 106);
/* oklch */ color: oklch(41.3% 0.165 337.5);
Tailwind
colors: {
  custom: {
    50: '#a76195',
    500: '#7e146a',
    950: '#000000',
  },
}
SCSS
$custom: #7e146a;
$custom-light: #a76195;
$custom-dark: #000000;
JSON
{
  "hex": "#7e146a",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 311.321,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41299,
    "c": 0.16488,
    "h": 337.5
  },
  "luminance": 0.05977
}

Semantic roles & 50–950 ramp

primary
#7E146A
secondary
#3AB351
accent
#EF5B38
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E146A

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

Preview Lab → · Contrast checker → · Palette generator →

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