#7E146B#7E146B

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

Color values

HEX#7E146B
RGBrgb(126, 20, 107)
HSLhsl(311, 73%, 29%)
HSVhsv(311, 84%, 49%)
CMYKcmyk(0%, 84.1%, 15.1%, 50.6%)
CIE-LABlab(29.41, 51.63, -23.74)
CIE-LCHlch(29.41, 56.83, 335.30°)
OKLaboklab(41.35% 0.1524 -0.0647)
OKLCHoklch(41.35% 0.166 337)
XYZxyz(11.5084, 5.9986, 14.4588)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E146B #147E27
analogous
#5C147E #7E146B #7E1436
triadic
#7E146B #6B7E14 #146B7E
tetradic
#7E146B #7E5C14 #147E27 #14367E
square
#7E146B #7E5C14 #147E27 #14367E
split-complementary
#7E146B #367E14 #147E5C
monochromatic
#1A0416 #490C3E #7E146B #B31C98 #DE2EBE

Accessibility & contrast

On white

9.55
#7E146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E146B
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E146B#FFFFFF#000000##FFFFFF
##7E146B1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183B6D
Deuteranopia (green-blind)
#3F4B69
Tritanopia (blue-blind)
#851C40
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e146b;
/* rgb */ color: rgb(126, 20, 107);
/* oklch */ color: oklch(41.4% 0.166 337.0);
Tailwind
colors: {
  custom: {
    50: '#a76195',
    500: '#7e146b',
    950: '#000000',
  },
}
SCSS
$custom: #7e146b;
$custom-light: #a76195;
$custom-dark: #000000;
JSON
{
  "hex": "#7e146b",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 310.755,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41354,
    "c": 0.16557,
    "h": 337
  },
  "luminance": 0.05997
}

Semantic roles & 50–950 ramp

primary
#7E146B
secondary
#3AB350
accent
#EF5938
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E146B

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

Preview Lab → · Contrast checker → · Palette generator →

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