#7E146C#7E146C

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

Color values

HEX#7E146C
RGBrgb(126, 20, 108)
HSLhsl(310, 73%, 29%)
HSVhsv(310, 84%, 49%)
CMYKcmyk(0%, 84.1%, 14.3%, 50.6%)
CIE-LABlab(29.46, 51.78, -24.30)
CIE-LCHlch(29.46, 57.20, 334.86°)
OKLaboklab(41.41% 0.1525 -0.0663)
OKLCHoklch(41.41% 0.166 336.5)
XYZxyz(11.5613, 6.0198, 14.7375)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E146C #147E26
analogous
#5B147E #7E146C #7E1437
triadic
#7E146C #6C7E14 #146C7E
tetradic
#7E146C #7E5B14 #147E26 #14377E
square
#7E146C #7E5B14 #147E26 #14377E
split-complementary
#7E146C #377E14 #147E5B
monochromatic
#1A0417 #490C3F #7E146C #B31C99 #DE2EC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E146C#FFFFFF#000000##FFFFFF
##7E146C1.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)
#173B6E
Deuteranopia (green-blind)
#3E4B6A
Tritanopia (blue-blind)
#851D40
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e146c;
/* rgb */ color: rgb(126, 20, 108);
/* oklch */ color: oklch(41.4% 0.166 336.5);
Tailwind
colors: {
  custom: {
    50: '#a76196',
    500: '#7e146c',
    950: '#000000',
  },
}
SCSS
$custom: #7e146c;
$custom-light: #a76196;
$custom-dark: #000000;
JSON
{
  "hex": "#7e146c",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 310.189,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41409,
    "c": 0.16628,
    "h": 336.5
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#7E146C
secondary
#3AB34F
accent
#EF5838
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E146C

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

Preview Lab → · Contrast checker → · Palette generator →

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