#7B155C#7B155C

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

Color values

HEX#7B155C
RGBrgb(123, 21, 92)
HSLhsl(318, 71%, 28%)
HSVhsv(318, 83%, 48%)
CMYKcmyk(0%, 82.9%, 25.2%, 51.8%)
CIE-LABlab(28.17, 48.52, -15.97)
CIE-LCHlch(28.17, 51.08, 341.78°)
OKLaboklab(40.11% 0.1468 -0.0427)
OKLCHoklch(40.11% 0.153 343.8)
XYZxyz(10.3687, 5.5211, 10.6428)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B155C #157B34
analogous
#67157B #7B155C #7B1529
triadic
#7B155C #5C7B15 #155C7B
tetradic
#7B155C #7B6715 #157B34 #15297B
square
#7B155C #7B6715 #157B34 #15297B
split-complementary
#7B155C #297B15 #157B67
monochromatic
#1A0414 #470C35 #7B155C #AF1E83 #DB2FA7

Accessibility & contrast

On white

9.98
#7B155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B155C
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B155C#FFFFFF#000000##FFFFFF
##7B155C1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22385E
Deuteranopia (green-blind)
#42485A
Tritanopia (blue-blind)
#841537
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b155c;
/* rgb */ color: rgb(123, 21, 92);
/* oklch */ color: oklch(40.1% 0.153 343.8);
Tailwind
colors: {
  custom: {
    50: '#a5608a',
    500: '#7b155c',
    950: '#000000',
  },
}
SCSS
$custom: #7b155c;
$custom-light: #a5608a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b155c",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 318.235,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40112,
    "c": 0.15289,
    "h": 343.8
  },
  "luminance": 0.0552
}

Semantic roles & 50–950 ramp

primary
#7B155C
secondary
#3BB05F
accent
#EE713A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B155C

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

Preview Lab → · Contrast checker → · Palette generator →

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