#7B225E#7B225E

#7B225E is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.139 H 343.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7B225E
RGBrgb(123, 34, 94)
HSLhsl(320, 57%, 31%)
HSVhsv(320, 72%, 48%)
CMYKcmyk(0%, 72.4%, 23.6%, 51.8%)
CIE-LABlab(29.82, 44.37, -14.73)
CIE-LCHlch(29.82, 46.76, 341.63°)
OKLaboklab(41.34% 0.1336 -0.0393)
OKLCHoklch(41.34% 0.139 343.6)
XYZxyz(10.7612, 6.1642, 11.2106)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B225E #227B3F
analogous
#6B227B #7B225E #7B2231
triadic
#7B225E #5E7B22 #225E7B
tetradic
#7B225E #7B6B22 #227B3F #22317B
square
#7B225E #7B6B22 #227B3F #22317B
split-complementary
#7B225E #317B22 #227B6B
monochromatic
#1B0715 #4B1539 #7B225E #AB2F83 #CD4AA2

Accessibility & contrast

On white

9.41
#7B225E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B225E
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B225E#FFFFFF#000000##FFFFFF
##7B225E1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D60
Deuteranopia (green-blind)
#464C5C
Tritanopia (blue-blind)
#83223D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b225e;
/* rgb */ color: rgb(123, 34, 94);
/* oklch */ color: oklch(41.3% 0.139 343.6);
Tailwind
colors: {
  custom: {
    50: '#a4658b',
    500: '#7b225e',
    950: '#000000',
  },
}
SCSS
$custom: #7b225e;
$custom-light: #a4658b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b225e",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 94
  },
  "hsl": {
    "h": 319.551,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41342,
    "c": 0.13924,
    "h": 343.6
  },
  "luminance": 0.06163
}

Semantic roles & 50–950 ramp

primary
#7B225E
secondary
#4BAE6B
accent
#E07948
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B225E

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

Preview Lab → · Contrast checker → · Palette generator →

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