#7E1750#7E1750

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

Color values

HEX#7E1750
RGBrgb(126, 23, 80)
HSLhsl(327, 69%, 29%)
HSVhsv(327, 82%, 49%)
CMYKcmyk(0%, 81.7%, 36.5%, 50.6%)
CIE-LABlab(28.46, 47.21, -7.57)
CIE-LCHlch(28.46, 47.82, 350.90°)
OKLaboklab(40.26% 0.145 -0.0195)
OKLCHoklch(40.26% 0.146 352.3)
XYZxyz(10.3592, 5.6289, 8.1288)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1750 #177E45
analogous
#79177E #7E1750 #7E171D
triadic
#7E1750 #507E17 #17507E
tetradic
#7E1750 #7E7917 #177E45 #171D7E
square
#7E1750 #7E7917 #177E45 #171D7E
split-complementary
#7E1750 #1D7E17 #177E79
monochromatic
#1A0510 #4A0E2F #7E1750 #B22071 #DA3591

Accessibility & contrast

On white

9.88
#7E1750 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1750
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1750#FFFFFF#000000##FFFFFF
##7E17501.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3751
Deuteranopia (green-blind)
#494A4E
Tritanopia (blue-blind)
#880B31
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1750;
/* rgb */ color: rgb(126, 23, 80);
/* oklch */ color: oklch(40.3% 0.146 352.3);
Tailwind
colors: {
  custom: {
    50: '#a86181',
    500: '#7e1750',
    950: '#000000',
  },
}
SCSS
$custom: #7e1750;
$custom-light: #a86181;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1750",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 80
  },
  "hsl": {
    "h": 326.796,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40261,
    "c": 0.14626,
    "h": 352.3
  },
  "luminance": 0.05628
}

Semantic roles & 50–950 ramp

primary
#7E1750
secondary
#3EB372
accent
#EC8A3C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E1750

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

Preview Lab → · Contrast checker → · Palette generator →

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