#7E1454#7E1454

#7E1454 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.151 H 349.6°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7E1454
RGBrgb(126, 20, 84)
HSLhsl(324, 73%, 29%)
HSVhsv(324, 84%, 49%)
CMYKcmyk(0%, 84.1%, 33.3%, 50.6%)
CIE-LABlab(28.32, 48.54, -10.42)
CIE-LCHlch(28.32, 49.64, 347.88°)
OKLaboklab(40.21% 0.1487 -0.0273)
OKLCHoklch(40.21% 0.151 349.6)
XYZxyz(10.4552, 5.5773, 8.9117)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1454 #147E3E
analogous
#73147E #7E1454 #7E141F
triadic
#7E1454 #547E14 #14547E
tetradic
#7E1454 #7E7314 #147E3E #141F7E
square
#7E1454 #7E7314 #147E3E #141F7E
split-complementary
#7E1454 #1F7E14 #147E73
monochromatic
#1A0412 #490C31 #7E1454 #B31C77 #DE2E98

Accessibility & contrast

On white

9.93
#7E1454 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1454
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1454#FFFFFF#000000##FFFFFF
##7E14541.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283756
Deuteranopia (green-blind)
#474952
Tritanopia (blue-blind)
#880B33
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1454;
/* rgb */ color: rgb(126, 20, 84);
/* oklch */ color: oklch(40.2% 0.151 349.6);
Tailwind
colors: {
  custom: {
    50: '#a86084',
    500: '#7e1454',
    950: '#000000',
  },
}
SCSS
$custom: #7e1454;
$custom-light: #a86084;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1454",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 84
  },
  "hsl": {
    "h": 323.774,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40214,
    "c": 0.15118,
    "h": 349.6
  },
  "luminance": 0.05576
}

Semantic roles & 50–950 ramp

primary
#7E1454
secondary
#3AB36A
accent
#EF8138
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E1454

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

Preview Lab → · Contrast checker → · Palette generator →

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