#7B185E#7B185E

#7B185E is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.151 H 342.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7B185E
RGBrgb(123, 24, 94)
HSLhsl(318, 67%, 29%)
HSVhsv(318, 80%, 48%)
CMYKcmyk(0%, 80.5%, 23.6%, 51.8%)
CIE-LABlab(28.57, 47.91, -16.66)
CIE-LCHlch(28.57, 50.72, 340.82°)
OKLaboklab(40.43% 0.1444 -0.0447)
OKLCHoklch(40.43% 0.151 342.8)
XYZxyz(10.5158, 5.6735, 11.1288)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B185E #187B35
analogous
#67187B #7B185E #7B182D
triadic
#7B185E #5E7B18 #185E7B
tetradic
#7B185E #7B6718 #187B35 #182D7B
square
#7B185E #7B6718 #187B35 #182D7B
split-complementary
#7B185E #2D7B18 #187B67
monochromatic
#1A0514 #480E37 #7B185E #AE2285 #D836A8

Accessibility & contrast

On white

9.84
#7B185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B185E
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B185E#FFFFFF#000000##FFFFFF
##7B185E1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b185e;
/* rgb */ color: rgb(123, 24, 94);
/* oklch */ color: oklch(40.4% 0.151 342.8);
Tailwind
colors: {
  custom: {
    50: '#a5618b',
    500: '#7b185e',
    950: '#000000',
  },
}
SCSS
$custom: #7b185e;
$custom-light: #a5618b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b185e",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 317.576,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40434,
    "c": 0.15117,
    "h": 342.8
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#7B185E
secondary
#3FB060
accent
#EA703E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7B185E

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

Preview Lab → · Contrast checker → · Palette generator →

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