#7A185F#7A185F

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

Color values

HEX#7A185F
RGBrgb(122, 24, 95)
HSLhsl(317, 67%, 29%)
HSVhsv(317, 80%, 48%)
CMYKcmyk(0%, 80.3%, 22.1%, 52.2%)
CIE-LABlab(28.43, 47.79, -17.55)
CIE-LCHlch(28.43, 50.91, 339.83°)
OKLaboklab(40.31% 0.1436 -0.0472)
OKLCHoklch(40.31% 0.151 341.8)
XYZxyz(10.4186, 5.6182, 11.3600)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A185F #187A33
analogous
#64187A #7A185F #7A182E
triadic
#7A185F #5F7A18 #185F7A
tetradic
#7A185F #7A6418 #187A33 #182E7A
square
#7A185F #7A6418 #187A33 #182E7A
split-complementary
#7A185F #2E7A18 #187A64
monochromatic
#1A0514 #470E37 #7A185F #AD2287 #D735AB

Accessibility & contrast

On white

9.89
#7A185F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A185F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A185F#FFFFFF#000000##FFFFFF
##7A185F1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223961
Deuteranopia (green-blind)
#41495D
Tritanopia (blue-blind)
#821A3A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a185f;
/* rgb */ color: rgb(122, 24, 95);
/* oklch */ color: oklch(40.3% 0.151 341.8);
Tailwind
colors: {
  custom: {
    50: '#a4618c',
    500: '#7a185f',
    950: '#000000',
  },
}
SCSS
$custom: #7a185f;
$custom-light: #a4618c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a185f",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 95
  },
  "hsl": {
    "h": 316.531,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40308,
    "c": 0.15117,
    "h": 341.8
  },
  "luminance": 0.05617
}

Semantic roles & 50–950 ramp

primary
#7A185F
secondary
#3FAF5E
accent
#EA6D3E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7A185F

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

Preview Lab → · Contrast checker → · Palette generator →

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