#7B204F#7B204F

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

Color values

HEX#7B204F
RGBrgb(123, 32, 79)
HSLhsl(329, 59%, 30%)
HSVhsv(329, 74%, 48%)
CMYKcmyk(0%, 74%, 35.8%, 51.8%)
CIE-LABlab(28.93, 43.15, -6.26)
CIE-LCHlch(28.93, 43.60, 351.75°)
OKLaboklab(40.48% 0.1321 -0.016)
OKLCHoklch(40.48% 0.133 353.1)
XYZxyz(10.0968, 5.8097, 7.9853)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B204F #207B4C
analogous
#79207B #7B204F #7B2021
triadic
#7B204F #4F7B20 #204F7B
tetradic
#7B204F #7B7920 #207B4C #20217B
square
#7B204F #7B7920 #207B4C #20217B
split-complementary
#7B204F #217B20 #207B79
monochromatic
#1A0711 #4A1330 #7B204F #AC2D6E #CF468D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B204F#FFFFFF#000000##FFFFFF
##7B204F1.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)
#303A50
Deuteranopia (green-blind)
#494A4D
Tritanopia (blue-blind)
#851934
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b204f;
/* rgb */ color: rgb(123, 32, 79);
/* oklch */ color: oklch(40.5% 0.133 353.1);
Tailwind
colors: {
  custom: {
    50: '#a56480',
    500: '#7b204f',
    950: '#000000',
  },
}
SCSS
$custom: #7b204f;
$custom-light: #a56480;
$custom-dark: #000000;
JSON
{
  "hex": "#7b204f",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 79
  },
  "hsl": {
    "h": 329.011,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40484,
    "c": 0.13307,
    "h": 353.1
  },
  "luminance": 0.05808
}

Semantic roles & 50–950 ramp

primary
#7B204F
secondary
#49AE7A
accent
#E29146
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B204F

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

Preview Lab → · Contrast checker → · Palette generator →

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