#7B214A#7B214A

#7B214A is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.129 H 356.7°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7B214A
RGBrgb(123, 33, 74)
HSLhsl(333, 58%, 31%)
HSVhsv(333, 73%, 48%)
CMYKcmyk(0%, 73.2%, 39.8%, 51.8%)
CIE-LABlab(28.89, 42.16, -3.00)
CIE-LCHlch(28.89, 42.27, 355.93°)
OKLaboklab(40.4% 0.1293 -0.0074)
OKLCHoklch(40.4% 0.129 356.7)
XYZxyz(9.9489, 5.7943, 7.0717)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B214A #217B52
analogous
#7B2177 #7B214A #7B2521
triadic
#7B214A #4A7B21 #214A7B
tetradic
#7B214A #777B21 #217B52 #25217B
square
#7B214A #777B21 #217B52 #25217B
split-complementary
#7B214A #217B25 #21777B
monochromatic
#1A0710 #4B142D #7B214A #AB2E67 #CE4885

Accessibility & contrast

On white

9.73
#7B214A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7B214A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B214A
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B214A#FFFFFF#000000##FFFFFF
##7B214A1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32394B
Deuteranopia (green-blind)
#4B4A48
Tritanopia (blue-blind)
#851732
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b214a;
/* rgb */ color: rgb(123, 33, 74);
/* oklch */ color: oklch(40.4% 0.129 356.7);
Tailwind
colors: {
  custom: {
    50: '#a5647c',
    500: '#7b214a',
    950: '#000000',
  },
}
SCSS
$custom: #7b214a;
$custom-light: #a5647c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b214a",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 74
  },
  "hsl": {
    "h": 332.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40396,
    "c": 0.12946,
    "h": 356.7
  },
  "luminance": 0.05793
}

Semantic roles & 50–950 ramp

primary
#7B214A
secondary
#4AAE80
accent
#E19B47
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B214A

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

Preview Lab → · Contrast checker → · Palette generator →

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