#7A185D#7A185D

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

Color values

HEX#7A185D
RGBrgb(122, 24, 93)
HSLhsl(318, 67%, 29%)
HSVhsv(318, 80%, 48%)
CMYKcmyk(0%, 80.3%, 23.8%, 52.2%)
CIE-LABlab(28.33, 47.51, -16.39)
CIE-LCHlch(28.33, 50.26, 340.96°)
OKLaboklab(40.21% 0.1433 -0.0439)
OKLCHoklch(40.21% 0.15 343)
XYZxyz(10.3288, 5.5823, 10.8873)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A185D #187A35
analogous
#66187A #7A185D #7A182C
triadic
#7A185D #5D7A18 #185D7A
tetradic
#7A185D #7A6618 #187A35 #182C7A
square
#7A185D #7A6618 #187A35 #182C7A
split-complementary
#7A185D #2C7A18 #187A66
monochromatic
#1A0513 #470E36 #7A185D #AD2284 #D735A7

Accessibility & contrast

On white

9.92
#7A185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A185D
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A185D#FFFFFF#000000##FFFFFF
##7A185D1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23395F
Deuteranopia (green-blind)
#42495B
Tritanopia (blue-blind)
#821839
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a185d;
/* rgb */ color: rgb(122, 24, 93);
/* oklch */ color: oklch(40.2% 0.150 343.0);
Tailwind
colors: {
  custom: {
    50: '#a4618b',
    500: '#7a185d',
    950: '#000000',
  },
}
SCSS
$custom: #7a185d;
$custom-light: #a4618b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a185d",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 317.755,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40209,
    "c": 0.14985,
    "h": 343
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

primary
#7A185D
secondary
#3FAF60
accent
#EA713E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7A185D

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

Preview Lab → · Contrast checker → · Palette generator →

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