#7B155B#7B155B

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

Color values

HEX#7B155B
RGBrgb(123, 21, 91)
HSLhsl(319, 71%, 28%)
HSVhsv(319, 83%, 48%)
CMYKcmyk(0%, 82.9%, 26%, 51.8%)
CIE-LABlab(28.12, 48.38, -15.39)
CIE-LCHlch(28.12, 50.77, 342.36°)
OKLaboklab(40.06% 0.1466 -0.0411)
OKLCHoklch(40.06% 0.152 344.4)
XYZxyz(10.3253, 5.5038, 10.4141)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B155B #157B35
analogous
#68157B #7B155B #7B1528
triadic
#7B155B #5B7B15 #155B7B
tetradic
#7B155B #7B6815 #157B35 #15287B
square
#7B155B #7B6815 #157B35 #15287B
split-complementary
#7B155B #287B15 #157B68
monochromatic
#1A0413 #470C34 #7B155B #AF1E82 #DB2FA5

Accessibility & contrast

On white

10.00
#7B155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B155B
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B155B#FFFFFF#000000##FFFFFF
##7B155B1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23385D
Deuteranopia (green-blind)
#434859
Tritanopia (blue-blind)
#841437
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b155b;
/* rgb */ color: rgb(123, 21, 91);
/* oklch */ color: oklch(40.1% 0.152 344.4);
Tailwind
colors: {
  custom: {
    50: '#a56089',
    500: '#7b155b',
    950: '#000000',
  },
}
SCSS
$custom: #7b155b;
$custom-light: #a56089;
$custom-dark: #000000;
JSON
{
  "hex": "#7b155b",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 318.824,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40063,
    "c": 0.15226,
    "h": 344.4
  },
  "luminance": 0.05503
}

Semantic roles & 50–950 ramp

primary
#7B155B
secondary
#3BB060
accent
#EE723A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B155B

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

Preview Lab → · Contrast checker → · Palette generator →

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