#7B145A#7B145A

#7B145A is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.9% C 0.153 H 344.9°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#7B145A
RGBrgb(123, 20, 90)
HSLhsl(319, 72%, 28%)
HSVhsv(319, 84%, 48%)
CMYKcmyk(0%, 83.7%, 26.8%, 51.8%)
CIE-LABlab(27.98, 48.53, -14.95)
CIE-LCHlch(27.98, 50.78, 342.88°)
OKLaboklab(39.95% 0.1473 -0.0398)
OKLCHoklch(39.95% 0.153 344.9)
XYZxyz(10.2645, 5.4506, 10.1824)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B145A #147B35
analogous
#68147B #7B145A #7B1427
triadic
#7B145A #5A7B14 #145A7B
tetradic
#7B145A #7B6814 #147B35 #14277B
square
#7B145A #7B6814 #147B35 #14277B
split-complementary
#7B145A #277B14 #147B68
monochromatic
#1A0413 #460B33 #7B145A #B01D81 #DD2DA4

Accessibility & contrast

On white

10.05
#7B145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7B145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B145A
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B145A#FFFFFF#000000##FFFFFF
##7B145A1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23375C
Deuteranopia (green-blind)
#434858
Tritanopia (blue-blind)
#841236
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b145a;
/* rgb */ color: rgb(123, 20, 90);
/* oklch */ color: oklch(39.9% 0.153 344.9);
Tailwind
colors: {
  custom: {
    50: '#a56088',
    500: '#7b145a',
    950: '#000000',
  },
}
SCSS
$custom: #7b145a;
$custom-light: #a56088;
$custom-dark: #000000;
JSON
{
  "hex": "#7b145a",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 319.223,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39945,
    "c": 0.15258,
    "h": 344.9
  },
  "luminance": 0.05449
}

Semantic roles & 50–950 ramp

primary
#7B145A
secondary
#3AB160
accent
#EF7339
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B145A

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

Preview Lab → · Contrast checker → · Palette generator →

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