#7E1247#7E1247

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

Color values

HEX#7E1247
RGBrgb(126, 18, 71)
HSLhsl(331, 75%, 28%)
HSVhsv(331, 86%, 49%)
CMYKcmyk(0%, 85.7%, 43.7%, 50.6%)
CIE-LABlab(27.64, 47.61, -2.78)
CIE-LCHlch(27.64, 47.69, 356.66°)
OKLaboklab(39.56% 0.1466 -0.0067)
OKLCHoklch(39.56% 0.147 357.4)
XYZxyz(9.9586, 5.3245, 6.4633)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1247 #127E49
analogous
#7E127D #7E1247 #7E1312
triadic
#7E1247 #477E12 #12477E
tetradic
#7E1247 #7D7E12 #127E49 #13127E
square
#7E1247 #7D7E12 #127E49 #13127E
split-complementary
#7E1247 #127E13 #127D7E
monochromatic
#1B040F #480A29 #7E1247 #B41A65 #E12A84

Accessibility & contrast

On white

10.17
#7E1247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1247
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1247#FFFFFF#000000##FFFFFF
##7E12471.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3448
Deuteranopia (green-blind)
#494845
Tritanopia (blue-blind)
#89002B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1247;
/* rgb */ color: rgb(126, 18, 71);
/* oklch */ color: oklch(39.6% 0.147 357.4);
Tailwind
colors: {
  custom: {
    50: '#a85f7a',
    500: '#7e1247',
    950: '#000000',
  },
}
SCSS
$custom: #7e1247;
$custom-light: #a85f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1247",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 330.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39557,
    "c": 0.14678,
    "h": 357.4
  },
  "luminance": 0.05323
}

Semantic roles & 50–950 ramp

primary
#7E1247
secondary
#38B477
accent
#F29636
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #7E1247

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

Preview Lab → · Contrast checker → · Palette generator →

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