#7B155A#7B155A

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

Color values

HEX#7B155A
RGBrgb(123, 21, 90)
HSLhsl(319, 71%, 28%)
HSVhsv(319, 83%, 48%)
CMYKcmyk(0%, 82.9%, 26.8%, 51.8%)
CIE-LABlab(28.08, 48.25, -14.80)
CIE-LCHlch(28.08, 50.47, 342.95°)
OKLaboklab(40.02% 0.1464 -0.0394)
OKLCHoklch(40.02% 0.152 344.9)
XYZxyz(10.2825, 5.4866, 10.1884)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B155A #157B36
analogous
#69157B #7B155A #7B1527
triadic
#7B155A #5A7B15 #155A7B
tetradic
#7B155A #7B6915 #157B36 #15277B
square
#7B155A #7B6915 #157B36 #15277B
split-complementary
#7B155A #277B15 #157B69
monochromatic
#1A0413 #470C34 #7B155A #AF1E80 #DB2FA4

Accessibility & contrast

On white

10.01
#7B155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7B155A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B155A
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B155A#FFFFFF#000000##FFFFFF
##7B155A1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b155a;
/* rgb */ color: rgb(123, 21, 90);
/* oklch */ color: oklch(40.0% 0.152 344.9);
Tailwind
colors: {
  custom: {
    50: '#a56088',
    500: '#7b155a',
    950: '#000000',
  },
}
SCSS
$custom: #7b155a;
$custom-light: #a56088;
$custom-dark: #000000;
JSON
{
  "hex": "#7b155a",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 319.412,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40015,
    "c": 0.15165,
    "h": 344.9
  },
  "luminance": 0.05485
}

Semantic roles & 50–950 ramp

primary
#7B155A
secondary
#3BB061
accent
#EE743A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B155A

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

Preview Lab → · Contrast checker → · Palette generator →

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