#7B225D#7B225D

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

Color values

HEX#7B225D
RGBrgb(123, 34, 93)
HSLhsl(320, 57%, 31%)
HSVhsv(320, 72%, 48%)
CMYKcmyk(0%, 72.4%, 24.4%, 51.8%)
CIE-LABlab(29.78, 44.23, -14.15)
CIE-LCHlch(29.78, 46.44, 342.26°)
OKLaboklab(41.3% 0.1334 -0.0377)
OKLCHoklch(41.3% 0.139 344.2)
XYZxyz(10.7166, 6.1464, 10.9758)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B225D #227B40
analogous
#6C227B #7B225D #7B2230
triadic
#7B225D #5D7B22 #225D7B
tetradic
#7B225D #7B6C22 #227B40 #22307B
square
#7B225D #7B6C22 #227B40 #22307B
split-complementary
#7B225D #307B22 #227B6C
monochromatic
#1B0714 #4B1539 #7B225D #AB2F81 #CD4AA1

Accessibility & contrast

On white

9.42
#7B225D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B225D
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B225D#FFFFFF#000000##FFFFFF
##7B225D1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D5F
Deuteranopia (green-blind)
#464C5B
Tritanopia (blue-blind)
#83213C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b225d;
/* rgb */ color: rgb(123, 34, 93);
/* oklch */ color: oklch(41.3% 0.139 344.2);
Tailwind
colors: {
  custom: {
    50: '#a4658b',
    500: '#7b225d',
    950: '#000000',
  },
}
SCSS
$custom: #7b225d;
$custom-light: #a4658b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b225d",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 320.225,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41295,
    "c": 0.13858,
    "h": 344.2
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#7B225D
secondary
#4BAE6C
accent
#E07B48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B225D

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

Preview Lab → · Contrast checker → · Palette generator →

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