#7E1347#7E1347

#7E1347 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.146 H 357.5°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#7E1347
RGBrgb(126, 19, 71)
HSLhsl(331, 74%, 28%)
HSVhsv(331, 85%, 49%)
CMYKcmyk(0%, 84.9%, 43.7%, 50.6%)
CIE-LABlab(27.73, 47.36, -2.64)
CIE-LCHlch(27.73, 47.43, 356.80°)
OKLaboklab(39.62% 0.1458 -0.0063)
OKLCHoklch(39.62% 0.146 357.5)
XYZxyz(9.9752, 5.3576, 6.4689)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1347 #137E4A
analogous
#7E137C #7E1347 #7E1413
triadic
#7E1347 #477E13 #13477E
tetradic
#7E1347 #7C7E13 #137E4A #14137E
square
#7E1347 #7C7E13 #137E4A #14137E
split-complementary
#7E1347 #137E14 #137C7E
monochromatic
#1B040F #490B29 #7E1347 #B31B65 #DF2C83

Accessibility & contrast

On white

10.14
#7E1347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1347
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1347#FFFFFF#000000##FFFFFF
##7E13471.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3548
Deuteranopia (green-blind)
#4A4945
Tritanopia (blue-blind)
#89002B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1347;
/* rgb */ color: rgb(126, 19, 71);
/* oklch */ color: oklch(39.6% 0.146 357.5);
Tailwind
colors: {
  custom: {
    50: '#a85f7a',
    500: '#7e1347',
    950: '#000000',
  },
}
SCSS
$custom: #7e1347;
$custom-light: #a85f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1347",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 71
  },
  "hsl": {
    "h": 330.841,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39623,
    "c": 0.14594,
    "h": 357.5
  },
  "luminance": 0.05356
}

Semantic roles & 50–950 ramp

primary
#7E1347
secondary
#39B478
accent
#F09637
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #7E1347

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

Preview Lab → · Contrast checker → · Palette generator →

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