#7E1249#7E1249

#7E1249 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.6% C 0.148 H 356.1°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#7E1249
RGBrgb(126, 18, 73)
HSLhsl(329, 75%, 28%)
HSVhsv(329, 86%, 49%)
CMYKcmyk(0%, 85.7%, 42.1%, 50.6%)
CIE-LABlab(27.71, 47.82, -4.01)
CIE-LCHlch(27.71, 47.99, 355.20°)
OKLaboklab(39.63% 0.1473 -0.01)
OKLCHoklch(39.63% 0.148 356.1)
XYZxyz(10.0238, 5.3506, 6.8070)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1249 #127E47
analogous
#7D127E #7E1249 #7E1213
triadic
#7E1249 #497E12 #12497E
tetradic
#7E1249 #7E7D12 #127E47 #12137E
square
#7E1249 #7E7D12 #127E47 #12137E
split-complementary
#7E1249 #137E12 #127E7D
monochromatic
#1B0410 #480A2A #7E1249 #B41A68 #E12A87

Accessibility & contrast

On white

10.15
#7E1249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7E1249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1249
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1249#FFFFFF#000000##FFFFFF
##7E12491.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B354A
Deuteranopia (green-blind)
#494847
Tritanopia (blue-blind)
#89002C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1249;
/* rgb */ color: rgb(126, 18, 73);
/* oklch */ color: oklch(39.6% 0.148 356.1);
Tailwind
colors: {
  custom: {
    50: '#a85f7b',
    500: '#7e1249',
    950: '#000000',
  },
}
SCSS
$custom: #7e1249;
$custom-light: #a85f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1249",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 329.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39632,
    "c": 0.14762,
    "h": 356.1
  },
  "luminance": 0.05349
}

Semantic roles & 50–950 ramp

primary
#7E1249
secondary
#38B475
accent
#F29236
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #7E1249

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

Preview Lab → · Contrast checker → · Palette generator →

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