#7A175F#7A175F

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

Color values

HEX#7A175F
RGBrgb(122, 23, 95)
HSLhsl(316, 68%, 28%)
HSVhsv(316, 81%, 48%)
CMYKcmyk(0%, 81.1%, 22.1%, 52.2%)
CIE-LABlab(28.32, 48.10, -17.72)
CIE-LCHlch(28.32, 51.26, 339.78°)
OKLaboklab(40.23% 0.1445 -0.0477)
OKLCHoklch(40.23% 0.152 341.8)
XYZxyz(10.3984, 5.5777, 11.3532)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A175F #177A32
analogous
#63177A #7A175F #7A172D
triadic
#7A175F #5F7A17 #175F7A
tetradic
#7A175F #7A6317 #177A32 #172D7A
square
#7A175F #7A6317 #177A32 #172D7A
split-complementary
#7A175F #2D7A17 #177A63
monochromatic
#1A0514 #470D37 #7A175F #AD2187 #D933AB

Accessibility & contrast

On white

9.93
#7A175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7A175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A175F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A175F#FFFFFF#000000##FFFFFF
##7A175F1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213961
Deuteranopia (green-blind)
#41485D
Tritanopia (blue-blind)
#82193A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a175f;
/* rgb */ color: rgb(122, 23, 95);
/* oklch */ color: oklch(40.2% 0.152 341.8);
Tailwind
colors: {
  custom: {
    50: '#a4618c',
    500: '#7a175f',
    950: '#000000',
  },
}
SCSS
$custom: #7a175f;
$custom-light: #a4618c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a175f",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 316.364,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40231,
    "c": 0.15219,
    "h": 341.8
  },
  "luminance": 0.05577
}

Semantic roles & 50–950 ramp

primary
#7A175F
secondary
#3EAF5D
accent
#EB6C3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7A175F

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

Preview Lab → · Contrast checker → · Palette generator →

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