#7E1244#7E1244

#7E1244 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.146 H 359.3°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#7E1244
RGBrgb(126, 18, 68)
HSLhsl(332, 75%, 28%)
HSVhsv(332, 86%, 49%)
CMYKcmyk(0%, 85.7%, 46%, 50.6%)
CIE-LABlab(27.54, 47.31, -0.91)
CIE-LCHlch(27.54, 47.32, 358.90°)
OKLaboklab(39.45% 0.1456 -0.0018)
OKLCHoklch(39.45% 0.146 359.3)
XYZxyz(9.8647, 5.2869, 5.9687)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1244 #127E4C
analogous
#7E127A #7E1244 #7E1612
triadic
#7E1244 #447E12 #12447E
tetradic
#7E1244 #7A7E12 #127E4C #16127E
square
#7E1244 #7A7E12 #127E4C #16127E
split-complementary
#7E1244 #127E16 #127A7E
monochromatic
#1B040E #480A27 #7E1244 #B41A61 #E12A7E

Accessibility & contrast

On white

10.21
#7E1244 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E1244 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1244
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1244#FFFFFF#000000##FFFFFF
##7E12441.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3445
Deuteranopia (green-blind)
#4A4842
Tritanopia (blue-blind)
#89002A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1244;
/* rgb */ color: rgb(126, 18, 68);
/* oklch */ color: oklch(39.4% 0.146 359.3);
Tailwind
colors: {
  custom: {
    50: '#a85f77',
    500: '#7e1244',
    950: '#000000',
  },
}
SCSS
$custom: #7e1244;
$custom-light: #a85f77;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1244",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 68
  },
  "hsl": {
    "h": 332.222,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39448,
    "c": 0.14564,
    "h": 359.3
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#7E1244
secondary
#38B47A
accent
#F29B36
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7E1244

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

Preview Lab → · Contrast checker → · Palette generator →

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