#7B154E#7B154E

#7B154E is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.145 H 352.2°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#7B154E
RGBrgb(123, 21, 78)
HSLhsl(326, 71%, 28%)
HSVhsv(326, 83%, 48%)
CMYKcmyk(0%, 82.9%, 36.6%, 51.8%)
CIE-LABlab(27.57, 46.76, -7.63)
CIE-LCHlch(27.57, 47.38, 350.73°)
OKLaboklab(39.48% 0.1436 -0.0197)
OKLCHoklch(39.48% 0.145 352.2)
XYZxyz(9.8123, 5.2986, 7.7123)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B154E #157B42
analogous
#75157B #7B154E #7B151B
triadic
#7B154E #4E7B15 #154E7B
tetradic
#7B154E #7B7515 #157B42 #151B7B
square
#7B154E #7B7515 #157B42 #151B7B
split-complementary
#7B154E #1B7B15 #157B75
monochromatic
#1A0411 #470C2D #7B154E #AF1E6F #DB2F8F

Accessibility & contrast

On white

10.20
#7B154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7B154E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B154E
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B154E#FFFFFF#000000##FFFFFF
##7B154E1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29354F
Deuteranopia (green-blind)
#46484C
Tritanopia (blue-blind)
#850930
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b154e;
/* rgb */ color: rgb(123, 21, 78);
/* oklch */ color: oklch(39.5% 0.145 352.2);
Tailwind
colors: {
  custom: {
    50: '#a55f7f',
    500: '#7b154e',
    950: '#000000',
  },
}
SCSS
$custom: #7b154e;
$custom-light: #a55f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b154e",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 326.471,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39479,
    "c": 0.14494,
    "h": 352.2
  },
  "luminance": 0.05297
}

Semantic roles & 50–950 ramp

primary
#7B154E
secondary
#3BB06F
accent
#EE893A
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#10050A
muted
#7F797C

Preview Lab

Preview with #7B154E

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

Preview Lab → · Contrast checker → · Palette generator →

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