#7A175E#7A175E

#7A175E is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.152 H 342.3°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#7A175E
RGBrgb(122, 23, 94)
HSLhsl(317, 68%, 28%)
HSVhsv(317, 81%, 48%)
CMYKcmyk(0%, 81.1%, 23%, 52.2%)
CIE-LABlab(28.27, 47.96, -17.14)
CIE-LCHlch(28.27, 50.93, 340.33°)
OKLaboklab(40.18% 0.1444 -0.046)
OKLCHoklch(40.18% 0.152 342.3)
XYZxyz(10.3532, 5.5596, 11.1154)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A175E #177A33
analogous
#64177A #7A175E #7A172C
triadic
#7A175E #5E7A17 #175E7A
tetradic
#7A175E #7A6417 #177A33 #172C7A
square
#7A175E #7A6417 #177A33 #172C7A
split-complementary
#7A175E #2C7A17 #177A64
monochromatic
#1A0514 #470D36 #7A175E #AD2186 #D933AA

Accessibility & contrast

On white

9.94
#7A175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7A175E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A175E
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A175E#FFFFFF#000000##FFFFFF
##7A175E1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223860
Deuteranopia (green-blind)
#41485C
Tritanopia (blue-blind)
#821839
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a175e;
/* rgb */ color: rgb(122, 23, 94);
/* oklch */ color: oklch(40.2% 0.152 342.3);
Tailwind
colors: {
  custom: {
    50: '#a4618c',
    500: '#7a175e',
    950: '#000000',
  },
}
SCSS
$custom: #7a175e;
$custom-light: #a4618c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a175e",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 316.97,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40181,
    "c": 0.15154,
    "h": 342.3
  },
  "luminance": 0.05559
}

Semantic roles & 50–950 ramp

primary
#7A175E
secondary
#3EAF5E
accent
#EB6E3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7A175E

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

Preview Lab → · Contrast checker → · Palette generator →

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