#7B225C#7B225C

#7B225C is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.138 H 344.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#7B225C
RGBrgb(123, 34, 92)
HSLhsl(321, 57%, 31%)
HSVhsv(321, 72%, 48%)
CMYKcmyk(0%, 72.4%, 25.2%, 51.8%)
CIE-LABlab(29.74, 44.09, -13.57)
CIE-LCHlch(29.74, 46.13, 342.90°)
OKLaboklab(41.25% 0.1331 -0.0361)
OKLCHoklch(41.25% 0.138 344.8)
XYZxyz(10.6726, 6.1288, 10.7441)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B225C #227B41
analogous
#6D227B #7B225C #7B222F
triadic
#7B225C #5C7B22 #225C7B
tetradic
#7B225C #7B6D22 #227B41 #222F7B
square
#7B225C #7B6D22 #227B41 #222F7B
split-complementary
#7B225C #2F7B22 #227B6D
monochromatic
#1B0714 #4B1538 #7B225C #AB2F80 #CD4AA0

Accessibility & contrast

On white

9.44
#7B225C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7B225C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B225C
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B225C#FFFFFF#000000##FFFFFF
##7B225C1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3C5E
Deuteranopia (green-blind)
#474B5A
Tritanopia (blue-blind)
#83213C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b225c;
/* rgb */ color: rgb(123, 34, 92);
/* oklch */ color: oklch(41.2% 0.138 344.8);
Tailwind
colors: {
  custom: {
    50: '#a4658a',
    500: '#7b225c',
    950: '#000000',
  },
}
SCSS
$custom: #7b225c;
$custom-light: #a4658a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b225c",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 92
  },
  "hsl": {
    "h": 320.899,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41249,
    "c": 0.13793,
    "h": 344.8
  },
  "luminance": 0.06128
}

Semantic roles & 50–950 ramp

primary
#7B225C
secondary
#4BAE6D
accent
#E07D48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B225C

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

Preview Lab → · Contrast checker → · Palette generator →

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