#7B225A#7B225A

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

Color values

HEX#7B225A
RGBrgb(123, 34, 90)
HSLhsl(322, 57%, 31%)
HSVhsv(322, 72%, 48%)
CMYKcmyk(0%, 72.4%, 26.8%, 51.8%)
CIE-LABlab(29.65, 43.80, -12.39)
CIE-LCHlch(29.65, 45.52, 344.20°)
OKLaboklab(41.16% 0.1327 -0.0328)
OKLCHoklch(41.16% 0.137 346.1)
XYZxyz(10.5863, 6.0943, 10.2897)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B225A #227B43
analogous
#6F227B #7B225A #7B222D
triadic
#7B225A #5A7B22 #225A7B
tetradic
#7B225A #7B6F22 #227B43 #222D7B
square
#7B225A #7B6F22 #227B43 #222D7B
split-complementary
#7B225A #2D7B22 #227B6F
monochromatic
#1B0714 #4B1537 #7B225A #AB2F7D #CD4A9D

Accessibility & contrast

On white

9.47
#7B225A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7B225A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B225A
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B225A#FFFFFF#000000##FFFFFF
##7B225A1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3C5C
Deuteranopia (green-blind)
#474B58
Tritanopia (blue-blind)
#84203B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b225a;
/* rgb */ color: rgb(123, 34, 90);
/* oklch */ color: oklch(41.2% 0.137 346.1);
Tailwind
colors: {
  custom: {
    50: '#a46588',
    500: '#7b225a',
    950: '#000000',
  },
}
SCSS
$custom: #7b225a;
$custom-light: #a46588;
$custom-dark: #000000;
JSON
{
  "hex": "#7b225a",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 322.247,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41158,
    "c": 0.13666,
    "h": 346.1
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

primary
#7B225A
secondary
#4BAE70
accent
#E08048
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B225A

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

Preview Lab → · Contrast checker → · Palette generator →

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