#7E1749#7E1749

#7E1749 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.143 H 356.8°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#7E1749
RGBrgb(126, 23, 73)
HSLhsl(331, 69%, 29%)
HSVhsv(331, 82%, 49%)
CMYKcmyk(0%, 81.7%, 42.1%, 50.6%)
CIE-LABlab(28.20, 46.43, -3.29)
CIE-LCHlch(28.20, 46.55, 355.94°)
OKLaboklab(39.99% 0.1428 -0.0081)
OKLCHoklch(39.99% 0.143 356.8)
XYZxyz(10.1139, 5.5308, 6.8370)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1749 #177E4C
analogous
#7E177D #7E1749 #7E1917
triadic
#7E1749 #497E17 #17497E
tetradic
#7E1749 #7D7E17 #177E4C #19177E
square
#7E1749 #7D7E17 #177E4C #19177E
split-complementary
#7E1749 #177E19 #177D7E
monochromatic
#1A050F #4A0E2B #7E1749 #B22067 #DA3585

Accessibility & contrast

On white

9.97
#7E1749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E1749 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1749
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1749#FFFFFF#000000##FFFFFF
##7E17491.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E364A
Deuteranopia (green-blind)
#4A4947
Tritanopia (blue-blind)
#89052E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1749;
/* rgb */ color: rgb(126, 23, 73);
/* oklch */ color: oklch(40.0% 0.143 356.8);
Tailwind
colors: {
  custom: {
    50: '#a8607b',
    500: '#7e1749',
    950: '#000000',
  },
}
SCSS
$custom: #7e1749;
$custom-light: #a8607b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1749",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 73
  },
  "hsl": {
    "h": 330.874,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39986,
    "c": 0.14307,
    "h": 356.8
  },
  "luminance": 0.05529
}

Semantic roles & 50–950 ramp

primary
#7E1749
secondary
#3EB37A
accent
#EC963C
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1749

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

Preview Lab → · Contrast checker → · Palette generator →

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