#7B215B#7B215B

#7B215B is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.139 H 345.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#7B215B
RGBrgb(123, 33, 91)
HSLhsl(321, 58%, 31%)
HSVhsv(321, 73%, 48%)
CMYKcmyk(0%, 73.2%, 26%, 51.8%)
CIE-LABlab(29.55, 44.34, -13.20)
CIE-LCHlch(29.55, 46.26, 343.43°)
OKLaboklab(41.1% 0.1341 -0.035)
OKLCHoklch(41.1% 0.139 345.4)
XYZxyz(10.6010, 6.0551, 10.5060)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B215B #217B41
analogous
#6E217B #7B215B #7B212E
triadic
#7B215B #5B7B21 #215B7B
tetradic
#7B215B #7B6E21 #217B41 #212E7B
square
#7B215B #7B6E21 #217B41 #212E7B
split-complementary
#7B215B #2E7B21 #217B6E
monochromatic
#1A0714 #4B1437 #7B215B #AB2E7F #CE489F

Accessibility & contrast

On white

9.50
#7B215B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B215B
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B215B#FFFFFF#000000##FFFFFF
##7B215B1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3C5D
Deuteranopia (green-blind)
#464B59
Tritanopia (blue-blind)
#831F3B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b215b;
/* rgb */ color: rgb(123, 33, 91);
/* oklch */ color: oklch(41.1% 0.139 345.4);
Tailwind
colors: {
  custom: {
    50: '#a56589',
    500: '#7b215b',
    950: '#000000',
  },
}
SCSS
$custom: #7b215b;
$custom-light: #a56589;
$custom-dark: #000000;
JSON
{
  "hex": "#7b215b",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 91
  },
  "hsl": {
    "h": 321.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.411,
    "c": 0.13861,
    "h": 345.4
  },
  "luminance": 0.06054
}

Semantic roles & 50–950 ramp

primary
#7B215B
secondary
#4AAE6D
accent
#E17E47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B215B

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

Preview Lab → · Contrast checker → · Palette generator →

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