#7E1455#7E1455

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

Color values

HEX#7E1455
RGBrgb(126, 20, 85)
HSLhsl(323, 73%, 29%)
HSVhsv(323, 84%, 49%)
CMYKcmyk(0%, 84.1%, 32.5%, 50.6%)
CIE-LABlab(28.36, 48.66, -11.02)
CIE-LCHlch(28.36, 49.89, 347.24°)
OKLaboklab(40.26% 0.149 -0.0289)
OKLCHoklch(40.26% 0.152 349)
XYZxyz(10.4946, 5.5931, 9.1195)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1455 #147E3D
analogous
#72147E #7E1455 #7E1420
triadic
#7E1455 #557E14 #14557E
tetradic
#7E1455 #7E7214 #147E3D #14207E
square
#7E1455 #7E7214 #147E3D #14207E
split-complementary
#7E1455 #207E14 #147E72
monochromatic
#1A0412 #490C31 #7E1455 #B31C79 #DE2E9A

Accessibility & contrast

On white

9.91
#7E1455 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1455
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1455#FFFFFF#000000##FFFFFF
##7E14551.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273757
Deuteranopia (green-blind)
#464953
Tritanopia (blue-blind)
#880C33
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1455;
/* rgb */ color: rgb(126, 20, 85);
/* oklch */ color: oklch(40.3% 0.152 349.0);
Tailwind
colors: {
  custom: {
    50: '#a86085',
    500: '#7e1455',
    950: '#000000',
  },
}
SCSS
$custom: #7e1455;
$custom-light: #a86085;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1455",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 85
  },
  "hsl": {
    "h": 323.208,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40258,
    "c": 0.15173,
    "h": 349
  },
  "luminance": 0.05592
}

Semantic roles & 50–950 ramp

primary
#7E1455
secondary
#3AB369
accent
#EF7F38
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E1455

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

Preview Lab → · Contrast checker → · Palette generator →

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