#7E145D#7E145D

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

Color values

HEX#7E145D
RGBrgb(126, 20, 93)
HSLhsl(319, 73%, 29%)
HSVhsv(319, 84%, 49%)
CMYKcmyk(0%, 84.1%, 26.2%, 50.6%)
CIE-LABlab(28.71, 49.67, -15.74)
CIE-LCHlch(28.71, 52.11, 342.42°)
OKLaboklab(40.63% 0.1506 -0.042)
OKLCHoklch(40.63% 0.156 344.4)
XYZxyz(10.8306, 5.7275, 10.8889)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E145D #147E35
analogous
#6A147E #7E145D #7E1428
triadic
#7E145D #5D7E14 #145D7E
tetradic
#7E145D #7E6A14 #147E35 #14287E
square
#7E145D #7E6A14 #147E35 #14287E
split-complementary
#7E145D #287E14 #147E6A
monochromatic
#1A0413 #490C36 #7E145D #B31C84 #DE2EA7

Accessibility & contrast

On white

9.79
#7E145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E145D
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E145D#FFFFFF#000000##FFFFFF
##7E145D1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23395F
Deuteranopia (green-blind)
#444A5B
Tritanopia (blue-blind)
#871338
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e145d;
/* rgb */ color: rgb(126, 20, 93);
/* oklch */ color: oklch(40.6% 0.156 344.4);
Tailwind
colors: {
  custom: {
    50: '#a7608b',
    500: '#7e145d',
    950: '#000000',
  },
}
SCSS
$custom: #7e145d;
$custom-light: #a7608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e145d",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 318.679,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40628,
    "c": 0.15637,
    "h": 344.4
  },
  "luminance": 0.05726
}

Semantic roles & 50–950 ramp

primary
#7E145D
secondary
#3AB360
accent
#EF7138
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E145D

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

Preview Lab → · Contrast checker → · Palette generator →

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