#7D226A#7D226A

#7D226A is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.149 H 337.5°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#7D226A
RGBrgb(125, 34, 106)
HSLhsl(313, 57%, 31%)
HSVhsv(313, 73%, 49%)
CMYKcmyk(0%, 72.8%, 15.2%, 51%)
CIE-LABlab(30.75, 46.73, -21.02)
CIE-LCHlch(30.75, 51.24, 335.78°)
OKLaboklab(42.27% 0.1378 -0.0571)
OKLCHoklch(42.27% 0.149 337.5)
XYZxyz(11.6312, 6.5457, 14.2837)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D226A #227D35
analogous
#62227D #7D226A #7D223C
triadic
#7D226A #6A7D22 #226A7D
tetradic
#7D226A #7D6222 #227D35 #223C7D
square
#7D226A #7D6222 #227D35 #223C7D
split-complementary
#7D226A #3C7D22 #227D62
monochromatic
#1D0818 #4D1541 #7D226A #AD2F93 #CE4BB3

Accessibility & contrast

On white

9.09
#7D226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7D226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D226A
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D226A#FFFFFF#000000##FFFFFF
##7D226A1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253F6C
Deuteranopia (green-blind)
#434D68
Tritanopia (blue-blind)
#842743
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d226a;
/* rgb */ color: rgb(125, 34, 106);
/* oklch */ color: oklch(42.3% 0.149 337.5);
Tailwind
colors: {
  custom: {
    50: '#a66695',
    500: '#7d226a',
    950: '#000000',
  },
}
SCSS
$custom: #7d226a;
$custom-light: #a66695;
$custom-dark: #000000;
JSON
{
  "hex": "#7d226a",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 312.527,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42269,
    "c": 0.14913,
    "h": 337.5
  },
  "luminance": 0.06545
}

Semantic roles & 50–950 ramp

primary
#7D226A
secondary
#4BB060
accent
#E06747
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D226A

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

Preview Lab → · Contrast checker → · Palette generator →

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