#7E1747#7E1747

#7E1747 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.142 H 358.1°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#7E1747
RGBrgb(126, 23, 71)
HSLhsl(332, 69%, 29%)
HSVhsv(332, 82%, 49%)
CMYKcmyk(0%, 81.7%, 43.7%, 50.6%)
CIE-LABlab(28.13, 46.22, -2.06)
CIE-LCHlch(28.13, 46.27, 357.45°)
OKLaboklab(39.91% 0.1422 -0.0048)
OKLCHoklch(39.91% 0.142 358.1)
XYZxyz(10.0487, 5.5047, 6.4934)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1747 #177E4E
analogous
#7E177B #7E1747 #7E1B17
triadic
#7E1747 #477E17 #17477E
tetradic
#7E1747 #7B7E17 #177E4E #1B177E
square
#7E1747 #7B7E17 #177E4E #1B177E
split-complementary
#7E1747 #177E1B #177B7E
monochromatic
#1A050F #4A0E2A #7E1747 #B22064 #DA3582

Accessibility & contrast

On white

10.00
#7E1747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E1747 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1747
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1747#FFFFFF#000000##FFFFFF
##7E17471.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3648
Deuteranopia (green-blind)
#4B4945
Tritanopia (blue-blind)
#89032D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1747;
/* rgb */ color: rgb(126, 23, 71);
/* oklch */ color: oklch(39.9% 0.142 358.1);
Tailwind
colors: {
  custom: {
    50: '#a8607a',
    500: '#7e1747',
    950: '#000000',
  },
}
SCSS
$custom: #7e1747;
$custom-light: #a8607a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1747",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 71
  },
  "hsl": {
    "h": 332.039,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39912,
    "c": 0.14225,
    "h": 358.1
  },
  "luminance": 0.05503
}

Semantic roles & 50–950 ramp

primary
#7E1747
secondary
#3EB37C
accent
#EC9A3C
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1747

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

Preview Lab → · Contrast checker → · Palette generator →

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