#7B155E#7B155E

#7B155E is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.154 H 342.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#7B155E
RGBrgb(123, 21, 94)
HSLhsl(317, 71%, 28%)
HSVhsv(317, 83%, 48%)
CMYKcmyk(0%, 82.9%, 23.6%, 51.8%)
CIE-LABlab(28.27, 48.79, -17.14)
CIE-LCHlch(28.27, 51.71, 340.65°)
OKLaboklab(40.21% 0.1471 -0.046)
OKLCHoklch(40.21% 0.154 342.6)
XYZxyz(10.4573, 5.5566, 11.1093)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B155E #157B32
analogous
#65157B #7B155E #7B152B
triadic
#7B155E #5E7B15 #155E7B
tetradic
#7B155E #7B6515 #157B32 #152B7B
square
#7B155E #7B6515 #157B32 #152B7B
split-complementary
#7B155E #2B7B15 #157B65
monochromatic
#1A0414 #470C36 #7B155E #AF1E86 #DB2FAA

Accessibility & contrast

On white

9.95
#7B155E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7B155E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B155E
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B155E#FFFFFF#000000##FFFFFF
##7B155E1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213860
Deuteranopia (green-blind)
#42495C
Tritanopia (blue-blind)
#831638
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b155e;
/* rgb */ color: rgb(123, 21, 94);
/* oklch */ color: oklch(40.2% 0.154 342.6);
Tailwind
colors: {
  custom: {
    50: '#a5608c',
    500: '#7b155e',
    950: '#000000',
  },
}
SCSS
$custom: #7b155e;
$custom-light: #a5608c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b155e",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 94
  },
  "hsl": {
    "h": 317.059,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40211,
    "c": 0.15415,
    "h": 342.6
  },
  "luminance": 0.05555
}

Semantic roles & 50–950 ramp

primary
#7B155E
secondary
#3BB05D
accent
#EE6D3A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7B155E

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

Preview Lab → · Contrast checker → · Palette generator →

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