#7B154C#7B154C

#7B154C is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.144 H 353.5°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#7B154C
RGBrgb(123, 21, 76)
HSLhsl(328, 71%, 28%)
HSVhsv(328, 83%, 48%)
CMYKcmyk(0%, 82.9%, 38.2%, 51.8%)
CIE-LABlab(27.49, 46.53, -6.41)
CIE-LCHlch(27.49, 46.97, 352.15°)
OKLaboklab(39.4% 0.143 -0.0164)
OKLCHoklch(39.4% 0.144 353.5)
XYZxyz(9.7417, 5.2703, 7.3404)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B154C #157B44
analogous
#77157B #7B154C #7B1519
triadic
#7B154C #4C7B15 #154C7B
tetradic
#7B154C #7B7715 #157B44 #15197B
square
#7B154C #7B7715 #157B44 #15197B
split-complementary
#7B154C #197B15 #157B77
monochromatic
#1A0410 #470C2C #7B154C #AF1E6C #DB2F8C

Accessibility & contrast

On white

10.22
#7B154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7B154C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B154C
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B154C#FFFFFF#000000##FFFFFF
##7B154C1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A354D
Deuteranopia (green-blind)
#47484A
Tritanopia (blue-blind)
#85072F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b154c;
/* rgb */ color: rgb(123, 21, 76);
/* oklch */ color: oklch(39.4% 0.144 353.5);
Tailwind
colors: {
  custom: {
    50: '#a65f7e',
    500: '#7b154c',
    950: '#000000',
  },
}
SCSS
$custom: #7b154c;
$custom-light: #a65f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b154c",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 327.647,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39397,
    "c": 0.14397,
    "h": 353.5
  },
  "luminance": 0.05269
}

Semantic roles & 50–950 ramp

primary
#7B154C
secondary
#3BB071
accent
#EE8D3A
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#100509
muted
#7F797B

Preview Lab

Preview with #7B154C

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

Preview Lab → · Contrast checker → · Palette generator →

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