#7B185C#7B185C

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

Color values

HEX#7B185C
RGBrgb(123, 24, 92)
HSLhsl(319, 67%, 29%)
HSVhsv(319, 80%, 48%)
CMYKcmyk(0%, 80.5%, 25.2%, 51.8%)
CIE-LABlab(28.48, 47.63, -15.49)
CIE-LCHlch(28.48, 50.09, 341.98°)
OKLaboklab(40.34% 0.1441 -0.0414)
OKLCHoklch(40.34% 0.15 344)
XYZxyz(10.4272, 5.6381, 10.6623)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B185C #187B37
analogous
#69187B #7B185C #7B182B
triadic
#7B185C #5C7B18 #185C7B
tetradic
#7B185C #7B6918 #187B37 #182B7B
square
#7B185C #7B6918 #187B37 #182B7B
split-complementary
#7B185C #2B7B18 #187B69
monochromatic
#1A0513 #480E36 #7B185C #AE2282 #D836A5

Accessibility & contrast

On white

9.87
#7B185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7B185C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B185C
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B185C#FFFFFF#000000##FFFFFF
##7B185C1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24395E
Deuteranopia (green-blind)
#43495A
Tritanopia (blue-blind)
#831738
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b185c;
/* rgb */ color: rgb(123, 24, 92);
/* oklch */ color: oklch(40.3% 0.150 344.0);
Tailwind
colors: {
  custom: {
    50: '#a5618a',
    500: '#7b185c',
    950: '#000000',
  },
}
SCSS
$custom: #7b185c;
$custom-light: #a5618a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b185c",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 318.788,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40336,
    "c": 0.14989,
    "h": 344
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

primary
#7B185C
secondary
#3FB062
accent
#EA743E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B185C

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

Preview Lab → · Contrast checker → · Palette generator →

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