#7B2153#7B2153

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

Color values

HEX#7B2153
RGBrgb(123, 33, 83)
HSLhsl(327, 58%, 31%)
HSVhsv(327, 73%, 48%)
CMYKcmyk(0%, 73.2%, 32.5%, 51.8%)
CIE-LABlab(29.22, 43.26, -8.45)
CIE-LCHlch(29.22, 44.08, 348.94°)
OKLaboklab(40.75% 0.1321 -0.022)
OKLCHoklch(40.75% 0.134 350.5)
XYZxyz(10.2741, 5.9244, 8.7844)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2153 #217B49
analogous
#76217B #7B2153 #7B2126
triadic
#7B2153 #537B21 #21537B
tetradic
#7B2153 #7B7621 #217B49 #21267B
square
#7B2153 #7B7621 #217B49 #21267B
split-complementary
#7B2153 #267B21 #217B76
monochromatic
#1A0712 #4B1432 #7B2153 #AB2E74 #CE4893

Accessibility & contrast

On white

9.61
#7B2153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7B2153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2153
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2153#FFFFFF#000000##FFFFFF
##7B21531.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3B54
Deuteranopia (green-blind)
#494B51
Tritanopia (blue-blind)
#841C37
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b2153;
/* rgb */ color: rgb(123, 33, 83);
/* oklch */ color: oklch(40.8% 0.134 350.5);
Tailwind
colors: {
  custom: {
    50: '#a56483',
    500: '#7b2153',
    950: '#000000',
  },
}
SCSS
$custom: #7b2153;
$custom-light: #a56483;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2153",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 326.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4075,
    "c": 0.13387,
    "h": 350.5
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#7B2153
secondary
#4AAE76
accent
#E18B47
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B2153

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

Preview Lab → · Contrast checker → · Palette generator →

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