#7E145B#7E145B

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

Color values

HEX#7E145B
RGBrgb(126, 20, 91)
HSLhsl(320, 73%, 29%)
HSVhsv(320, 84%, 49%)
CMYKcmyk(0%, 84.1%, 27.8%, 50.6%)
CIE-LABlab(28.62, 49.41, -14.57)
CIE-LCHlch(28.62, 51.51, 343.57°)
OKLaboklab(40.53% 0.1502 -0.0387)
OKLCHoklch(40.53% 0.155 345.5)
XYZxyz(10.7432, 5.6925, 10.4285)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E145B #147E37
analogous
#6C147E #7E145B #7E1426
triadic
#7E145B #5B7E14 #145B7E
tetradic
#7E145B #7E6C14 #147E37 #14267E
square
#7E145B #7E6C14 #147E37 #14267E
split-complementary
#7E145B #267E14 #147E6C
monochromatic
#1A0413 #490C35 #7E145B #B31C81 #DE2EA4

Accessibility & contrast

On white

9.82
#7E145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E145B
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E145B#FFFFFF#000000##FFFFFF
##7E145B1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24385D
Deuteranopia (green-blind)
#454A59
Tritanopia (blue-blind)
#871137
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e145b;
/* rgb */ color: rgb(126, 20, 91);
/* oklch */ color: oklch(40.5% 0.155 345.5);
Tailwind
colors: {
  custom: {
    50: '#a76089',
    500: '#7e145b',
    950: '#000000',
  },
}
SCSS
$custom: #7e145b;
$custom-light: #a76089;
$custom-dark: #000000;
JSON
{
  "hex": "#7e145b",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 319.811,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40533,
    "c": 0.15515,
    "h": 345.5
  },
  "luminance": 0.05691
}

Semantic roles & 50–950 ramp

primary
#7E145B
secondary
#3AB362
accent
#EF7538
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E145B

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

Preview Lab → · Contrast checker → · Palette generator →

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