#7A185E#7A185E

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

Color values

HEX#7A185E
RGBrgb(122, 24, 94)
HSLhsl(317, 67%, 29%)
HSVhsv(317, 80%, 48%)
CMYKcmyk(0%, 80.3%, 23%, 52.2%)
CIE-LABlab(28.38, 47.65, -16.97)
CIE-LCHlch(28.38, 50.58, 340.39°)
OKLaboklab(40.26% 0.1434 -0.0456)
OKLCHoklch(40.26% 0.151 342.4)
XYZxyz(10.3734, 5.6001, 11.1221)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A185E #187A34
analogous
#65187A #7A185E #7A182D
triadic
#7A185E #5E7A18 #185E7A
tetradic
#7A185E #7A6518 #187A34 #182D7A
square
#7A185E #7A6518 #187A34 #182D7A
split-complementary
#7A185E #2D7A18 #187A65
monochromatic
#1A0514 #470E37 #7A185E #AD2285 #D735A9

Accessibility & contrast

On white

9.91
#7A185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A185E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A185E#FFFFFF#000000##FFFFFF
##7A185E1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223960
Deuteranopia (green-blind)
#42495C
Tritanopia (blue-blind)
#821939
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a185e;
/* rgb */ color: rgb(122, 24, 94);
/* oklch */ color: oklch(40.3% 0.150 342.4);
Tailwind
colors: {
  custom: {
    50: '#a4618b',
    500: '#7a185e',
    950: '#000000',
  },
}
SCSS
$custom: #7a185e;
$custom-light: #a4618b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a185e",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 317.143,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40258,
    "c": 0.1505,
    "h": 342.4
  },
  "luminance": 0.05599
}

Semantic roles & 50–950 ramp

primary
#7A185E
secondary
#3FAF5F
accent
#EA6F3E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7A185E

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

Preview Lab → · Contrast checker → · Palette generator →

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