#7A175C#7A175C

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

Color values

HEX#7A175C
RGBrgb(122, 23, 92)
HSLhsl(318, 68%, 28%)
HSVhsv(318, 81%, 48%)
CMYKcmyk(0%, 81.1%, 24.6%, 52.2%)
CIE-LABlab(28.18, 47.68, -15.98)
CIE-LCHlch(28.18, 50.29, 341.48°)
OKLaboklab(40.08% 0.144 -0.0428)
OKLCHoklch(40.08% 0.15 343.5)
XYZxyz(10.2646, 5.5242, 10.6488)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A175C #177A35
analogous
#66177A #7A175C #7A172A
triadic
#7A175C #5C7A17 #175C7A
tetradic
#7A175C #7A6617 #177A35 #172A7A
square
#7A175C #7A6617 #177A35 #172A7A
split-complementary
#7A175C #2A7A17 #177A66
monochromatic
#1A0513 #470D35 #7A175C #AD2183 #D933A6

Accessibility & contrast

On white

9.98
#7A175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7A175C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A175C
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A175C#FFFFFF#000000##FFFFFF
##7A175C1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23385E
Deuteranopia (green-blind)
#42485A
Tritanopia (blue-blind)
#821738
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a175c;
/* rgb */ color: rgb(122, 23, 92);
/* oklch */ color: oklch(40.1% 0.150 343.5);
Tailwind
colors: {
  custom: {
    50: '#a4608a',
    500: '#7a175c',
    950: '#000000',
  },
}
SCSS
$custom: #7a175c;
$custom-light: #a4608a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a175c",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 318.182,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40082,
    "c": 0.15025,
    "h": 343.5
  },
  "luminance": 0.05523
}

Semantic roles & 50–950 ramp

primary
#7A175C
secondary
#3EAF60
accent
#EB723D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7A175C

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

Preview Lab → · Contrast checker → · Palette generator →

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