#7E1746#7E1746

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

Color values

HEX#7E1746
RGBrgb(126, 23, 70)
HSLhsl(333, 69%, 29%)
HSVhsv(333, 82%, 49%)
CMYKcmyk(0%, 81.7%, 44.4%, 50.6%)
CIE-LABlab(28.09, 46.12, -1.44)
CIE-LCHlch(28.09, 46.14, 358.21°)
OKLaboklab(39.88% 0.1418 -0.0032)
OKLCHoklch(39.88% 0.142 358.7)
XYZxyz(10.0168, 5.4919, 6.3257)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1746 #177E4F
analogous
#7E177A #7E1746 #7E1B17
triadic
#7E1746 #467E17 #17467E
tetradic
#7E1746 #7A7E17 #177E4F #1B177E
square
#7E1746 #7A7E17 #177E4F #1B177E
split-complementary
#7E1746 #177E1B #177A7E
monochromatic
#1A050E #4A0E29 #7E1746 #B22063 #DA3580

Accessibility & contrast

On white

10.01
#7E1746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1746
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1746#FFFFFF#000000##FFFFFF
##7E17461.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3647
Deuteranopia (green-blind)
#4B4944
Tritanopia (blue-blind)
#89022C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1746;
/* rgb */ color: rgb(126, 23, 70);
/* oklch */ color: oklch(39.9% 0.142 358.7);
Tailwind
colors: {
  custom: {
    50: '#a86079',
    500: '#7e1746',
    950: '#000000',
  },
}
SCSS
$custom: #7e1746;
$custom-light: #a86079;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1746",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 70
  },
  "hsl": {
    "h": 332.621,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39876,
    "c": 0.14187,
    "h": 358.7
  },
  "luminance": 0.05491
}

Semantic roles & 50–950 ramp

primary
#7E1746
secondary
#3EB37D
accent
#EC9C3C
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1746

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

Preview Lab → · Contrast checker → · Palette generator →

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