#7E1457#7E1457

#7E1457 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.153 H 347.8°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#7E1457
RGBrgb(126, 20, 87)
HSLhsl(322, 73%, 29%)
HSVhsv(322, 84%, 49%)
CMYKcmyk(0%, 84.1%, 31%, 50.6%)
CIE-LABlab(28.45, 48.90, -12.21)
CIE-LCHlch(28.45, 50.40, 345.98°)
OKLaboklab(40.35% 0.1494 -0.0322)
OKLCHoklch(40.35% 0.153 347.8)
XYZxyz(10.5752, 5.6253, 9.5439)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1457 #147E3B
analogous
#70147E #7E1457 #7E1422
triadic
#7E1457 #577E14 #14577E
tetradic
#7E1457 #7E7014 #147E3B #14227E
square
#7E1457 #7E7014 #147E3B #14227E
split-complementary
#7E1457 #227E14 #147E70
monochromatic
#1A0412 #490C33 #7E1457 #B31C7B #DE2E9D

Accessibility & contrast

On white

9.88
#7E1457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E1457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1457
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1457#FFFFFF#000000##FFFFFF
##7E14571.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263759
Deuteranopia (green-blind)
#464A55
Tritanopia (blue-blind)
#880E34
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1457;
/* rgb */ color: rgb(126, 20, 87);
/* oklch */ color: oklch(40.3% 0.153 347.8);
Tailwind
colors: {
  custom: {
    50: '#a86086',
    500: '#7e1457',
    950: '#000000',
  },
}
SCSS
$custom: #7e1457;
$custom-light: #a86086;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1457",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 87
  },
  "hsl": {
    "h": 322.075,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40347,
    "c": 0.15284,
    "h": 347.8
  },
  "luminance": 0.05624
}

Semantic roles & 50–950 ramp

primary
#7E1457
secondary
#3AB367
accent
#EF7C38
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E1457

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

Preview Lab → · Contrast checker → · Palette generator →

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