#7B2154#7B2154

#7B2154 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.134 H 349.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7B2154
RGBrgb(123, 33, 84)
HSLhsl(326, 58%, 31%)
HSVhsv(326, 73%, 48%)
CMYKcmyk(0%, 73.2%, 31.7%, 51.8%)
CIE-LABlab(29.26, 43.39, -9.05)
CIE-LCHlch(29.26, 44.33, 348.22°)
OKLaboklab(40.79% 0.1323 -0.0236)
OKLCHoklch(40.79% 0.134 349.9)
XYZxyz(10.3130, 5.9399, 8.9892)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2154 #217B48
analogous
#75217B #7B2154 #7B2127
triadic
#7B2154 #547B21 #21547B
tetradic
#7B2154 #7B7521 #217B48 #21277B
square
#7B2154 #7B7521 #217B48 #21277B
split-complementary
#7B2154 #277B21 #217B75
monochromatic
#1A0712 #4B1433 #7B2154 #AB2E75 #CE4894

Accessibility & contrast

On white

9.60
#7B2154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7B2154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2154
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2154#FFFFFF#000000##FFFFFF
##7B21541.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3B55
Deuteranopia (green-blind)
#484B52
Tritanopia (blue-blind)
#841C37
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b2154;
/* rgb */ color: rgb(123, 33, 84);
/* oklch */ color: oklch(40.8% 0.134 349.9);
Tailwind
colors: {
  custom: {
    50: '#a56484',
    500: '#7b2154',
    950: '#000000',
  },
}
SCSS
$custom: #7b2154;
$custom-light: #a56484;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2154",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 326,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40792,
    "c": 0.13442,
    "h": 349.9
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#7B2154
secondary
#4AAE75
accent
#E18A47
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B2154

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

Preview Lab → · Contrast checker → · Palette generator →

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