#7A175D#7A175D

#7A175D is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.151 H 342.9°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7A175D
RGBrgb(122, 23, 93)
HSLhsl(318, 68%, 28%)
HSVhsv(318, 81%, 48%)
CMYKcmyk(0%, 81.1%, 23.8%, 52.2%)
CIE-LABlab(28.23, 47.82, -16.56)
CIE-LCHlch(28.23, 50.60, 340.90°)
OKLaboklab(40.13% 0.1442 -0.0444)
OKLCHoklch(40.13% 0.151 342.9)
XYZxyz(10.3086, 5.5418, 10.8806)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A175D #177A34
analogous
#65177A #7A175D #7A172B
triadic
#7A175D #5D7A17 #175D7A
tetradic
#7A175D #7A6517 #177A34 #172B7A
square
#7A175D #7A6517 #177A34 #172B7A
split-complementary
#7A175D #2B7A17 #177A65
monochromatic
#1A0514 #470D36 #7A175D #AD2184 #D933A8

Accessibility & contrast

On white

9.96
#7A175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A175D
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A175D#FFFFFF#000000##FFFFFF
##7A175D1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22385F
Deuteranopia (green-blind)
#42485B
Tritanopia (blue-blind)
#821838
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a175d;
/* rgb */ color: rgb(122, 23, 93);
/* oklch */ color: oklch(40.1% 0.151 342.9);
Tailwind
colors: {
  custom: {
    50: '#a4608b',
    500: '#7a175d',
    950: '#000000',
  },
}
SCSS
$custom: #7a175d;
$custom-light: #a4608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a175d",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 317.576,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40131,
    "c": 0.1509,
    "h": 342.9
  },
  "luminance": 0.05541
}

Semantic roles & 50–950 ramp

primary
#7A175D
secondary
#3EAF5F
accent
#EB703D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7A175D

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

Preview Lab → · Contrast checker → · Palette generator →

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