#7E1647#7E1647

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

Color values

HEX#7E1647
RGBrgb(126, 22, 71)
HSLhsl(332, 70%, 29%)
HSVhsv(332, 83%, 49%)
CMYKcmyk(0%, 82.5%, 43.7%, 50.6%)
CIE-LABlab(28.02, 46.52, -2.21)
CIE-LCHlch(28.02, 46.57, 357.28°)
OKLaboklab(39.84% 0.1431 -0.0052)
OKLCHoklch(39.84% 0.143 357.9)
XYZxyz(10.0292, 5.4657, 6.4869)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1647 #167E4D
analogous
#7E167B #7E1647 #7E1916
triadic
#7E1647 #477E16 #16477E
tetradic
#7E1647 #7B7E16 #167E4D #19167E
square
#7E1647 #7B7E16 #167E4D #19167E
split-complementary
#7E1647 #167E19 #167B7E
monochromatic
#1A050F #4A0D2A #7E1647 #B21F64 #DB3382

Accessibility & contrast

On white

10.03
#7E1647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1647
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1647#FFFFFF#000000##FFFFFF
##7E16471.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3648
Deuteranopia (green-blind)
#4A4945
Tritanopia (blue-blind)
#89012C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1647;
/* rgb */ color: rgb(126, 22, 71);
/* oklch */ color: oklch(39.8% 0.143 357.9);
Tailwind
colors: {
  custom: {
    50: '#a8607a',
    500: '#7e1647',
    950: '#000000',
  },
}
SCSS
$custom: #7e1647;
$custom-light: #a8607a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1647",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 71
  },
  "hsl": {
    "h": 331.731,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39836,
    "c": 0.14323,
    "h": 357.9
  },
  "luminance": 0.05464
}

Semantic roles & 50–950 ramp

primary
#7E1647
secondary
#3DB37B
accent
#ED993B
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1647

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

Preview Lab → · Contrast checker → · Palette generator →

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