#7B215A#7B215A

#7B215A is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.138 H 346.0°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#7B215A
RGBrgb(123, 33, 90)
HSLhsl(322, 58%, 31%)
HSVhsv(322, 73%, 48%)
CMYKcmyk(0%, 73.2%, 26.8%, 51.8%)
CIE-LABlab(29.51, 44.20, -12.61)
CIE-LCHlch(29.51, 45.96, 344.08°)
OKLaboklab(41.05% 0.1339 -0.0334)
OKLCHoklch(41.05% 0.138 346)
XYZxyz(10.5581, 6.0380, 10.2803)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B215A #217B42
analogous
#6F217B #7B215A #7B212D
triadic
#7B215A #5A7B21 #215A7B
tetradic
#7B215A #7B6F21 #217B42 #212D7B
square
#7B215A #7B6F21 #217B42 #212D7B
split-complementary
#7B215A #2D7B21 #217B6F
monochromatic
#1A0713 #4B1437 #7B215A #AB2E7D #CE489D

Accessibility & contrast

On white

9.51
#7B215A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7B215A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B215A
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B215A#FFFFFF#000000##FFFFFF
##7B215A1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3C5C
Deuteranopia (green-blind)
#474B58
Tritanopia (blue-blind)
#841F3A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b215a;
/* rgb */ color: rgb(123, 33, 90);
/* oklch */ color: oklch(41.1% 0.138 346.0);
Tailwind
colors: {
  custom: {
    50: '#a56588',
    500: '#7b215a',
    950: '#000000',
  },
}
SCSS
$custom: #7b215a;
$custom-light: #a56588;
$custom-dark: #000000;
JSON
{
  "hex": "#7b215a",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 90
  },
  "hsl": {
    "h": 322,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41054,
    "c": 0.13799,
    "h": 346
  },
  "luminance": 0.06037
}

Semantic roles & 50–950 ramp

primary
#7B215A
secondary
#4AAE6F
accent
#E17F47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B215A

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

Preview Lab → · Contrast checker → · Palette generator →

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