#7A185C#7A185C

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

Color values

HEX#7A185C
RGBrgb(122, 24, 92)
HSLhsl(318, 67%, 29%)
HSVhsv(318, 80%, 48%)
CMYKcmyk(0%, 80.3%, 24.6%, 52.2%)
CIE-LABlab(28.29, 47.37, -15.81)
CIE-LCHlch(28.29, 49.94, 341.54°)
OKLaboklab(40.16% 0.1431 -0.0423)
OKLCHoklch(40.16% 0.149 343.5)
XYZxyz(10.2848, 5.5647, 10.6556)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A185C #187A36
analogous
#67187A #7A185C #7A182B
triadic
#7A185C #5C7A18 #185C7A
tetradic
#7A185C #7A6718 #187A36 #182B7A
square
#7A185C #7A6718 #187A36 #182B7A
split-complementary
#7A185C #2B7A18 #187A67
monochromatic
#1A0513 #470E35 #7A185C #AD2283 #D735A6

Accessibility & contrast

On white

9.94
#7A185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A185C
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A185C#FFFFFF#000000##FFFFFF
##7A185C1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24385E
Deuteranopia (green-blind)
#42495A
Tritanopia (blue-blind)
#821838
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a185c;
/* rgb */ color: rgb(122, 24, 92);
/* oklch */ color: oklch(40.2% 0.149 343.5);
Tailwind
colors: {
  custom: {
    50: '#a4618a',
    500: '#7a185c',
    950: '#000000',
  },
}
SCSS
$custom: #7a185c;
$custom-light: #a4618a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a185c",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 318.367,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4016,
    "c": 0.14921,
    "h": 343.5
  },
  "luminance": 0.05564
}

Semantic roles & 50–950 ramp

primary
#7A185C
secondary
#3FAF61
accent
#EA733E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7A185C

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

Preview Lab → · Contrast checker → · Palette generator →

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