#7E1549#7E1549

#7E1549 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.145 H 356.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#7E1549
RGBrgb(126, 21, 73)
HSLhsl(330, 71%, 29%)
HSVhsv(330, 83%, 49%)
CMYKcmyk(0%, 83.3%, 42.1%, 50.6%)
CIE-LABlab(27.99, 47.02, -3.60)
CIE-LCHlch(27.99, 47.15, 355.63°)
OKLaboklab(39.84% 0.1447 -0.0089)
OKLCHoklch(39.84% 0.145 356.5)
XYZxyz(10.0757, 5.4543, 6.8242)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1549 #157E4A
analogous
#7E157E #7E1549 #7E1615
triadic
#7E1549 #497E15 #15497E
tetradic
#7E1549 #7E7E15 #157E4A #16157E
square
#7E1549 #7E7E15 #157E4A #16157E
split-complementary
#7E1549 #157E16 #157E7E
monochromatic
#1A040F #4A0C2B #7E1549 #B21E67 #DD3186

Accessibility & contrast

On white

10.04
#7E1549 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1549 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1549
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1549#FFFFFF#000000##FFFFFF
##7E15491.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D364A
Deuteranopia (green-blind)
#4A4947
Tritanopia (blue-blind)
#89012D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1549;
/* rgb */ color: rgb(126, 21, 73);
/* oklch */ color: oklch(39.8% 0.145 356.5);
Tailwind
colors: {
  custom: {
    50: '#a8607b',
    500: '#7e1549',
    950: '#000000',
  },
}
SCSS
$custom: #7e1549;
$custom-light: #a8607b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1549",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 73
  },
  "hsl": {
    "h": 330.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39836,
    "c": 0.14497,
    "h": 356.5
  },
  "luminance": 0.05453
}

Semantic roles & 50–950 ramp

primary
#7E1549
secondary
#3CB378
accent
#EE953A
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1549

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

Preview Lab → · Contrast checker → · Palette generator →

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