#7B2152#7B2152

#7B2152 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.133 H 351.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#7B2152
RGBrgb(123, 33, 82)
HSLhsl(327, 58%, 31%)
HSVhsv(327, 73%, 48%)
CMYKcmyk(0%, 73.2%, 33.3%, 51.8%)
CIE-LABlab(29.18, 43.13, -7.85)
CIE-LCHlch(29.18, 43.84, 349.68°)
OKLaboklab(40.71% 0.1318 -0.0203)
OKLCHoklch(40.71% 0.133 351.2)
XYZxyz(10.2358, 5.9090, 8.5825)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2152 #217B4A
analogous
#77217B #7B2152 #7B2125
triadic
#7B2152 #527B21 #21527B
tetradic
#7B2152 #7B7721 #217B4A #21257B
square
#7B2152 #7B7721 #217B4A #21257B
split-complementary
#7B2152 #257B21 #217B77
monochromatic
#1A0712 #4B1432 #7B2152 #AB2E72 #CE4891

Accessibility & contrast

On white

9.63
#7B2152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2152
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2152#FFFFFF#000000##FFFFFF
##7B21521.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3A53
Deuteranopia (green-blind)
#494B50
Tritanopia (blue-blind)
#841B36
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b2152;
/* rgb */ color: rgb(123, 33, 82);
/* oklch */ color: oklch(40.7% 0.133 351.2);
Tailwind
colors: {
  custom: {
    50: '#a56482',
    500: '#7b2152',
    950: '#000000',
  },
}
SCSS
$custom: #7b2152;
$custom-light: #a56482;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2152",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 327.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40709,
    "c": 0.13333,
    "h": 351.2
  },
  "luminance": 0.05908
}

Semantic roles & 50–950 ramp

primary
#7B2152
secondary
#4AAE77
accent
#E18D47
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B2152

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

Preview Lab → · Contrast checker → · Palette generator →

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