#7B215E#7B215E

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

Color values

HEX#7B215E
RGBrgb(123, 33, 94)
HSLhsl(319, 58%, 31%)
HSVhsv(319, 73%, 48%)
CMYKcmyk(0%, 73.2%, 23.6%, 51.8%)
CIE-LABlab(29.68, 44.76, -14.95)
CIE-LCHlch(29.68, 47.19, 341.53°)
OKLaboklab(41.24% 0.1348 -0.0399)
OKLCHoklch(41.24% 0.141 343.5)
XYZxyz(10.7330, 6.1079, 11.2012)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B215E #217B3E
analogous
#6B217B #7B215E #7B2131
triadic
#7B215E #5E7B21 #215E7B
tetradic
#7B215E #7B6B21 #217B3E #21317B
square
#7B215E #7B6B21 #217B3E #21317B
split-complementary
#7B215E #317B21 #217B6B
monochromatic
#1A0714 #4B1439 #7B215E #AB2E83 #CE48A3

Accessibility & contrast

On white

9.45
#7B215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B215E
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B215E#FFFFFF#000000##FFFFFF
##7B215E1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3C60
Deuteranopia (green-blind)
#454B5C
Tritanopia (blue-blind)
#83213C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b215e;
/* rgb */ color: rgb(123, 33, 94);
/* oklch */ color: oklch(41.2% 0.141 343.5);
Tailwind
colors: {
  custom: {
    50: '#a4658b',
    500: '#7b215e',
    950: '#000000',
  },
}
SCSS
$custom: #7b215e;
$custom-light: #a4658b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b215e",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 319.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41239,
    "c": 0.14056,
    "h": 343.5
  },
  "luminance": 0.06107
}

Semantic roles & 50–950 ramp

primary
#7B215E
secondary
#4AAE6A
accent
#E17947
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B215E

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

Preview Lab → · Contrast checker → · Palette generator →

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