#7E1751#7E1751

#7E1751 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.147 H 351.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7E1751
RGBrgb(126, 23, 81)
HSLhsl(326, 69%, 29%)
HSVhsv(326, 82%, 49%)
CMYKcmyk(0%, 81.7%, 35.7%, 50.6%)
CIE-LABlab(28.50, 47.33, -8.17)
CIE-LCHlch(28.50, 48.03, 350.21°)
OKLaboklab(40.3% 0.1452 -0.0211)
OKLCHoklch(40.3% 0.147 351.7)
XYZxyz(10.3964, 5.6438, 8.3249)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1751 #177E44
analogous
#78177E #7E1751 #7E171D
triadic
#7E1751 #517E17 #17517E
tetradic
#7E1751 #7E7817 #177E44 #171D7E
square
#7E1751 #7E7817 #177E44 #171D7E
split-complementary
#7E1751 #1D7E17 #177E78
monochromatic
#1A0511 #4A0E30 #7E1751 #B22072 #DA3592

Accessibility & contrast

On white

9.87
#7E1751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E1751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1751
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1751#FFFFFF#000000##FFFFFF
##7E17511.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3752
Deuteranopia (green-blind)
#484A4F
Tritanopia (blue-blind)
#880C32
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1751;
/* rgb */ color: rgb(126, 23, 81);
/* oklch */ color: oklch(40.3% 0.147 351.7);
Tailwind
colors: {
  custom: {
    50: '#a86181',
    500: '#7e1751',
    950: '#000000',
  },
}
SCSS
$custom: #7e1751;
$custom-light: #a86181;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1751",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 81
  },
  "hsl": {
    "h": 326.214,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40302,
    "c": 0.14677,
    "h": 351.7
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#7E1751
secondary
#3EB371
accent
#EC893C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E1751

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

Preview Lab → · Contrast checker → · Palette generator →

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