#7E175E#7E175E

#7E175E is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.154 H 344.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7E175E
RGBrgb(126, 23, 94)
HSLhsl(319, 69%, 29%)
HSVhsv(319, 82%, 49%)
CMYKcmyk(0%, 81.7%, 25.4%, 50.6%)
CIE-LABlab(29.05, 48.97, -15.87)
CIE-LCHlch(29.05, 51.48, 342.04°)
OKLaboklab(40.89% 0.1482 -0.0424)
OKLCHoklch(40.89% 0.154 344)
XYZxyz(10.9314, 5.8578, 11.1425)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E175E #177E37
analogous
#6B177E #7E175E #7E172A
triadic
#7E175E #5E7E17 #175E7E
tetradic
#7E175E #7E6B17 #177E37 #172A7E
square
#7E175E #7E6B17 #177E37 #172A7E
split-complementary
#7E175E #2A7E17 #177E6B
monochromatic
#1A0513 #4A0E37 #7E175E #B22085 #DA35A7

Accessibility & contrast

On white

9.67
#7E175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E175E
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E175E#FFFFFF#000000##FFFFFF
##7E175E1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243A60
Deuteranopia (green-blind)
#444B5C
Tritanopia (blue-blind)
#871639
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e175e;
/* rgb */ color: rgb(126, 23, 94);
/* oklch */ color: oklch(40.9% 0.154 344.0);
Tailwind
colors: {
  custom: {
    50: '#a7618b',
    500: '#7e175e',
    950: '#000000',
  },
}
SCSS
$custom: #7e175e;
$custom-light: #a7618b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e175e",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 318.641,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40886,
    "c": 0.15417,
    "h": 344
  },
  "luminance": 0.05857
}

Semantic roles & 50–950 ramp

primary
#7E175E
secondary
#3EB362
accent
#EC733C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E175E

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

Preview Lab → · Contrast checker → · Palette generator →

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