#7E145C#7E145C

#7E145C is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.156 H 345.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#7E145C
RGBrgb(126, 20, 92)
HSLhsl(319, 73%, 29%)
HSVhsv(319, 84%, 49%)
CMYKcmyk(0%, 84.1%, 27%, 50.6%)
CIE-LABlab(28.67, 49.54, -15.16)
CIE-LCHlch(28.67, 51.81, 342.99°)
OKLaboklab(40.58% 0.1504 -0.0404)
OKLCHoklch(40.58% 0.156 345)
XYZxyz(10.7866, 5.7099, 10.6572)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E145C #147E36
analogous
#6B147E #7E145C #7E1427
triadic
#7E145C #5C7E14 #145C7E
tetradic
#7E145C #7E6B14 #147E36 #14277E
square
#7E145C #7E6B14 #147E36 #14277E
split-complementary
#7E145C #277E14 #147E6B
monochromatic
#1A0413 #490C35 #7E145C #B31C83 #DE2EA6

Accessibility & contrast

On white

9.80
#7E145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E145C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E145C
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E145C#FFFFFF#000000##FFFFFF
##7E145C1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23385E
Deuteranopia (green-blind)
#444A5A
Tritanopia (blue-blind)
#871237
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e145c;
/* rgb */ color: rgb(126, 20, 92);
/* oklch */ color: oklch(40.6% 0.156 345.0);
Tailwind
colors: {
  custom: {
    50: '#a7608a',
    500: '#7e145c',
    950: '#000000',
  },
}
SCSS
$custom: #7e145c;
$custom-light: #a7608a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e145c",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 319.245,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4058,
    "c": 0.15576,
    "h": 345
  },
  "luminance": 0.05709
}

Semantic roles & 50–950 ramp

primary
#7E145C
secondary
#3AB361
accent
#EF7338
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E145C

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

Preview Lab → · Contrast checker → · Palette generator →

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