#7B186A#7B186A

#7B186A is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.159 H 336.3°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#7B186A
RGBrgb(123, 24, 106)
HSLhsl(310, 67%, 29%)
HSVhsv(310, 80%, 48%)
CMYKcmyk(0%, 80.5%, 13.8%, 51.8%)
CIE-LABlab(29.17, 49.66, -23.51)
CIE-LCHlch(29.17, 54.94, 334.67°)
OKLaboklab(41.06% 0.146 -0.0641)
OKLCHoklch(41.06% 0.159 336.3)
XYZxyz(11.0967, 5.9059, 14.1884)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B186A #187B29
analogous
#5B187B #7B186A #7B1839
triadic
#7B186A #6A7B18 #186A7B
tetradic
#7B186A #7B5B18 #187B29 #18397B
square
#7B186A #7B5B18 #187B29 #18397B
split-complementary
#7B186A #397B18 #187B5B
monochromatic
#1A0516 #480E3E #7B186A #AE2296 #D836BC

Accessibility & contrast

On white

9.63
#7B186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7B186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B186A
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B186A#FFFFFF#000000##FFFFFF
##7B186A1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3B6C
Deuteranopia (green-blind)
#3E4A68
Tritanopia (blue-blind)
#822040
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b186a;
/* rgb */ color: rgb(123, 24, 106);
/* oklch */ color: oklch(41.1% 0.159 336.3);
Tailwind
colors: {
  custom: {
    50: '#a56295',
    500: '#7b186a',
    950: '#000000',
  },
}
SCSS
$custom: #7b186a;
$custom-light: #a56295;
$custom-dark: #000000;
JSON
{
  "hex": "#7b186a",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 310.303,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41062,
    "c": 0.15942,
    "h": 336.3
  },
  "luminance": 0.05905
}

Semantic roles & 50–950 ramp

primary
#7B186A
secondary
#3FB052
accent
#EA5B3E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B186A

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

Preview Lab → · Contrast checker → · Palette generator →

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