#7E175D#7E175D

#7E175D is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.154 H 344.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#7E175D
RGBrgb(126, 23, 93)
HSLhsl(319, 69%, 29%)
HSVhsv(319, 82%, 49%)
CMYKcmyk(0%, 81.7%, 26.2%, 50.6%)
CIE-LABlab(29.00, 48.84, -15.29)
CIE-LCHlch(29.00, 51.17, 342.61°)
OKLaboklab(40.84% 0.148 -0.0408)
OKLCHoklch(40.84% 0.154 344.6)
XYZxyz(10.8868, 5.8399, 10.9077)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E175D #177E38
analogous
#6C177E #7E175D #7E172A
triadic
#7E175D #5D7E17 #175D7E
tetradic
#7E175D #7E6C17 #177E38 #172A7E
square
#7E175D #7E6C17 #177E38 #172A7E
split-complementary
#7E175D #2A7E17 #177E6C
monochromatic
#1A0513 #4A0E37 #7E175D #B22083 #DA35A5

Accessibility & contrast

On white

9.69
#7E175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E175D
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E175D#FFFFFF#000000##FFFFFF
##7E175D1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395F
Deuteranopia (green-blind)
#454A5B
Tritanopia (blue-blind)
#871638
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e175d;
/* rgb */ color: rgb(126, 23, 93);
/* oklch */ color: oklch(40.8% 0.154 344.6);
Tailwind
colors: {
  custom: {
    50: '#a7618b',
    500: '#7e175d',
    950: '#000000',
  },
}
SCSS
$custom: #7e175d;
$custom-light: #a7618b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e175d",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 319.223,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40838,
    "c": 0.15354,
    "h": 344.6
  },
  "luminance": 0.05839
}

Semantic roles & 50–950 ramp

primary
#7E175D
secondary
#3EB363
accent
#EC743C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E175D

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

Preview Lab → · Contrast checker → · Palette generator →

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