#7B225B#7B225B

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

Color values

HEX#7B225B
RGBrgb(123, 34, 91)
HSLhsl(322, 57%, 31%)
HSVhsv(322, 72%, 48%)
CMYKcmyk(0%, 72.4%, 26%, 51.8%)
CIE-LABlab(29.69, 43.95, -12.98)
CIE-LCHlch(29.69, 45.82, 343.54°)
OKLaboklab(41.2% 0.1329 -0.0344)
OKLCHoklch(41.2% 0.137 345.5)
XYZxyz(10.6292, 6.1114, 10.5154)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B225B #227B42
analogous
#6E227B #7B225B #7B222E
triadic
#7B225B #5B7B22 #225B7B
tetradic
#7B225B #7B6E22 #227B42 #222E7B
square
#7B225B #7B6E22 #227B42 #222E7B
split-complementary
#7B225B #2E7B22 #227B6E
monochromatic
#1B0714 #4B1538 #7B225B #AB2F7E #CD4A9E

Accessibility & contrast

On white

9.45
#7B225B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B225B
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B225B#FFFFFF#000000##FFFFFF
##7B225B1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3C5D
Deuteranopia (green-blind)
#474B59
Tritanopia (blue-blind)
#83203B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b225b;
/* rgb */ color: rgb(123, 34, 91);
/* oklch */ color: oklch(41.2% 0.137 345.5);
Tailwind
colors: {
  custom: {
    50: '#a46589',
    500: '#7b225b',
    950: '#000000',
  },
}
SCSS
$custom: #7b225b;
$custom-light: #a46589;
$custom-dark: #000000;
JSON
{
  "hex": "#7b225b",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 91
  },
  "hsl": {
    "h": 321.573,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41203,
    "c": 0.13729,
    "h": 345.5
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#7B225B
secondary
#4BAE6F
accent
#E07F48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B225B

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

Preview Lab → · Contrast checker → · Palette generator →

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