#7B215D#7B215D

#7B215D is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.140 H 344.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7B215D
RGBrgb(123, 33, 93)
HSLhsl(320, 58%, 31%)
HSVhsv(320, 73%, 48%)
CMYKcmyk(0%, 73.2%, 24.4%, 51.8%)
CIE-LABlab(29.64, 44.62, -14.37)
CIE-LCHlch(29.64, 46.88, 342.15°)
OKLaboklab(41.19% 0.1346 -0.0383)
OKLCHoklch(41.19% 0.14 344.1)
XYZxyz(10.6884, 6.0901, 10.9664)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B215D #217B3F
analogous
#6C217B #7B215D #7B2130
triadic
#7B215D #5D7B21 #215D7B
tetradic
#7B215D #7B6C21 #217B3F #21307B
square
#7B215D #7B6C21 #217B3F #21307B
split-complementary
#7B215D #307B21 #217B6C
monochromatic
#1A0714 #4B1439 #7B215D #AB2E81 #CE48A1

Accessibility & contrast

On white

9.47
#7B215D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7B215D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B215D
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B215D#FFFFFF#000000##FFFFFF
##7B215D1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3C5F
Deuteranopia (green-blind)
#464B5B
Tritanopia (blue-blind)
#83203C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b215d;
/* rgb */ color: rgb(123, 33, 93);
/* oklch */ color: oklch(41.2% 0.140 344.1);
Tailwind
colors: {
  custom: {
    50: '#a4658b',
    500: '#7b215d',
    950: '#000000',
  },
}
SCSS
$custom: #7b215d;
$custom-light: #a4658b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b215d",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 93
  },
  "hsl": {
    "h": 320,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41192,
    "c": 0.1399,
    "h": 344.1
  },
  "luminance": 0.06089
}

Semantic roles & 50–950 ramp

primary
#7B215D
secondary
#4AAE6B
accent
#E17A47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B215D

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

Preview Lab → · Contrast checker → · Palette generator →

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