#7B145B#7B145B

#7B145B is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.153 H 344.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#7B145B
RGBrgb(123, 20, 91)
HSLhsl(319, 72%, 28%)
HSVhsv(319, 84%, 48%)
CMYKcmyk(0%, 83.7%, 26%, 51.8%)
CIE-LABlab(28.03, 48.66, -15.54)
CIE-LCHlch(28.03, 51.08, 342.29°)
OKLaboklab(39.99% 0.1475 -0.0415)
OKLCHoklch(39.99% 0.153 344.3)
XYZxyz(10.3073, 5.4677, 10.4081)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B145B #147B34
analogous
#67147B #7B145B #7B1427
triadic
#7B145B #5B7B14 #145B7B
tetradic
#7B145B #7B6714 #147B34 #14277B
square
#7B145B #7B6714 #147B34 #14277B
split-complementary
#7B145B #277B14 #147B67
monochromatic
#1A0413 #460B34 #7B145B #B01D82 #DD2DA6

Accessibility & contrast

On white

10.03
#7B145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B145B
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B145B#FFFFFF#000000##FFFFFF
##7B145B1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22375D
Deuteranopia (green-blind)
#424859
Tritanopia (blue-blind)
#841337
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b145b;
/* rgb */ color: rgb(123, 20, 91);
/* oklch */ color: oklch(40.0% 0.153 344.3);
Tailwind
colors: {
  custom: {
    50: '#a56089',
    500: '#7b145b',
    950: '#000000',
  },
}
SCSS
$custom: #7b145b;
$custom-light: #a56089;
$custom-dark: #000000;
JSON
{
  "hex": "#7b145b",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 318.641,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39994,
    "c": 0.1532,
    "h": 344.3
  },
  "luminance": 0.05467
}

Semantic roles & 50–950 ramp

primary
#7B145B
secondary
#3AB15F
accent
#EF7239
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B145B

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

Preview Lab → · Contrast checker → · Palette generator →

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