#7E145E#7E145E

#7E145E is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.7% C 0.157 H 343.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7E145E
RGBrgb(126, 20, 94)
HSLhsl(318, 73%, 29%)
HSVhsv(318, 84%, 49%)
CMYKcmyk(0%, 84.1%, 25.4%, 50.6%)
CIE-LABlab(28.76, 49.80, -16.32)
CIE-LCHlch(28.76, 52.41, 341.85°)
OKLaboklab(40.68% 0.1508 -0.0436)
OKLCHoklch(40.68% 0.157 343.9)
XYZxyz(10.8752, 5.7453, 11.1237)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E145E #147E34
analogous
#69147E #7E145E #7E1429
triadic
#7E145E #5E7E14 #145E7E
tetradic
#7E145E #7E6914 #147E34 #14297E
square
#7E145E #7E6914 #147E34 #14297E
split-complementary
#7E145E #297E14 #147E69
monochromatic
#1A0414 #490C37 #7E145E #B31C85 #DE2EA9

Accessibility & contrast

On white

9.77
#7E145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E145E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E145E
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E145E#FFFFFF#000000##FFFFFF
##7E145E1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223960
Deuteranopia (green-blind)
#444A5C
Tritanopia (blue-blind)
#871338
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e145e;
/* rgb */ color: rgb(126, 20, 94);
/* oklch */ color: oklch(40.7% 0.157 343.9);
Tailwind
colors: {
  custom: {
    50: '#a7608b',
    500: '#7e145e',
    950: '#000000',
  },
}
SCSS
$custom: #7e145e;
$custom-light: #a7608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e145e",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 318.113,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40677,
    "c": 0.15698,
    "h": 343.9
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#7E145E
secondary
#3AB35F
accent
#EF7038
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E145E

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

Preview Lab → · Contrast checker → · Palette generator →

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