#7E145A#7E145A

#7E145A is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.155 H 346.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7E145A
RGBrgb(126, 20, 90)
HSLhsl(320, 73%, 29%)
HSVhsv(320, 84%, 49%)
CMYKcmyk(0%, 84.1%, 28.6%, 50.6%)
CIE-LABlab(28.58, 49.28, -13.98)
CIE-LCHlch(28.58, 51.23, 344.16°)
OKLaboklab(40.49% 0.1501 -0.0371)
OKLCHoklch(40.49% 0.155 346.1)
XYZxyz(10.7003, 5.6753, 10.2028)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E145A #147E38
analogous
#6D147E #7E145A #7E1425
triadic
#7E145A #5A7E14 #145A7E
tetradic
#7E145A #7E6D14 #147E38 #14257E
square
#7E145A #7E6D14 #147E38 #14257E
split-complementary
#7E145A #257E14 #147E6D
monochromatic
#1A0413 #490C34 #7E145A #B31C80 #DE2EA2

Accessibility & contrast

On white

9.84
#7E145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E145A
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E145A#FFFFFF#000000##FFFFFF
##7E145A1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25385C
Deuteranopia (green-blind)
#454A58
Tritanopia (blue-blind)
#871036
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e145a;
/* rgb */ color: rgb(126, 20, 90);
/* oklch */ color: oklch(40.5% 0.155 346.1);
Tailwind
colors: {
  custom: {
    50: '#a76088',
    500: '#7e145a',
    950: '#000000',
  },
}
SCSS
$custom: #7e145a;
$custom-light: #a76088;
$custom-dark: #000000;
JSON
{
  "hex": "#7e145a",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 320.377,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40485,
    "c": 0.15457,
    "h": 346.1
  },
  "luminance": 0.05674
}

Semantic roles & 50–950 ramp

primary
#7E145A
secondary
#3AB364
accent
#EF7738
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E145A

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

Preview Lab → · Contrast checker → · Palette generator →

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