#7B214B#7B214B

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

Color values

HEX#7B214B
RGBrgb(123, 33, 75)
HSLhsl(332, 58%, 31%)
HSVhsv(332, 73%, 48%)
CMYKcmyk(0%, 73.2%, 39%, 51.8%)
CIE-LABlab(28.92, 42.28, -3.61)
CIE-LCHlch(28.92, 42.43, 355.12°)
OKLaboklab(40.43% 0.1296 -0.009)
OKLCHoklch(40.43% 0.13 356)
XYZxyz(9.9829, 5.8079, 7.2506)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B214B #217B51
analogous
#7B2178 #7B214B #7B2421
triadic
#7B214B #4B7B21 #214B7B
tetradic
#7B214B #787B21 #217B51 #24217B
square
#7B214B #787B21 #217B51 #24217B
split-complementary
#7B214B #217B24 #21787B
monochromatic
#1A0710 #4B142E #7B214B #AB2E68 #CE4887

Accessibility & contrast

On white

9.72
#7B214B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B214B
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B214B#FFFFFF#000000##FFFFFF
##7B214B1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323A4C
Deuteranopia (green-blind)
#4B4A49
Tritanopia (blue-blind)
#851833
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b214b;
/* rgb */ color: rgb(123, 33, 75);
/* oklch */ color: oklch(40.4% 0.130 356.0);
Tailwind
colors: {
  custom: {
    50: '#a5647d',
    500: '#7b214b',
    950: '#000000',
  },
}
SCSS
$custom: #7b214b;
$custom-light: #a5647d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b214b",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 75
  },
  "hsl": {
    "h": 332,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40433,
    "c": 0.12989,
    "h": 356
  },
  "luminance": 0.05807
}

Semantic roles & 50–950 ramp

primary
#7B214B
secondary
#4AAE7F
accent
#E19947
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B214B

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

Preview Lab → · Contrast checker → · Palette generator →

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