#7B4571#7B4571

#7B4571 is a mid, moderate pink. Relative luminance 0.097; OKLCH L 47.1% C 0.096 H 334.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7B4571
RGBrgb(123, 69, 113)
HSLhsl(311, 28%, 38%)
HSVhsv(311, 44%, 48%)
CMYKcmyk(0%, 43.9%, 8.1%, 51.8%)
CIE-LABlab(37.23, 30.01, -15.47)
CIE-LCHlch(37.23, 33.76, 332.73°)
OKLaboklab(47.09% 0.0861 -0.0417)
OKLCHoklch(47.09% 0.096 334.1)
XYZxyz(13.2771, 9.6602, 16.7849)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4571 #457B4F
analogous
#6A457B #7B4571 #7B4556
triadic
#7B4571 #717B45 #45717B
tetradic
#7B4571 #7B6A45 #457B4F #45567B
square
#7B4571 #7B6A45 #457B4F #45567B
split-complementary
#7B4571 #567B45 #457B6A
monochromatic
#2D1929 #542F4D #7B4571 #A25B95 #B982AF

Accessibility & contrast

On white

7.16
#7B4571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7B4571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B4571
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4571#FFFFFF#000000##FFFFFF
##7B45711.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455373
Deuteranopia (green-blind)
#535A6F
Tritanopia (blue-blind)
#804856
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b4571;
/* rgb */ color: rgb(123, 69, 113);
/* oklch */ color: oklch(47.1% 0.096 334.1);
Tailwind
colors: {
  custom: {
    50: '#a27a9a',
    500: '#7b4571',
    950: '#000000',
  },
}
SCSS
$custom: #7b4571;
$custom-light: #a27a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4571",
  "rgb": {
    "r": 123,
    "g": 69,
    "b": 113
  },
  "hsl": {
    "h": 311.111,
    "s": 28.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47092,
    "c": 0.09572,
    "h": 334.1
  },
  "luminance": 0.09659
}

Semantic roles & 50–950 ramp

primary
#7B4571
secondary
#78A480
accent
#C47563
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #7B4571

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

Preview Lab → · Contrast checker → · Palette generator →

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