#7D226D#7D226D

#7D226D is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.151 H 335.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#7D226D
RGBrgb(125, 34, 109)
HSLhsl(311, 57%, 31%)
HSVhsv(311, 73%, 49%)
CMYKcmyk(0%, 72.8%, 12.8%, 51%)
CIE-LABlab(30.90, 47.21, -22.71)
CIE-LCHlch(30.90, 52.38, 334.31°)
OKLaboklab(42.43% 0.1382 -0.0619)
OKLCHoklch(42.43% 0.151 335.9)
XYZxyz(11.7900, 6.6092, 15.1198)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D226D #227D32
analogous
#5F227D #7D226D #7D223F
triadic
#7D226D #6D7D22 #226D7D
tetradic
#7D226D #7D5F22 #227D32 #223F7D
square
#7D226D #7D5F22 #227D32 #223F7D
split-complementary
#7D226D #3F7D22 #227D5F
monochromatic
#1D0819 #4D1543 #7D226D #AD2F97 #CE4BB7

Accessibility & contrast

On white

9.05
#7D226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7D226D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D226D
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D226D#FFFFFF#000000##FFFFFF
##7D226D1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23406F
Deuteranopia (green-blind)
#424E6B
Tritanopia (blue-blind)
#842844
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d226d;
/* rgb */ color: rgb(125, 34, 109);
/* oklch */ color: oklch(42.4% 0.151 335.9);
Tailwind
colors: {
  custom: {
    50: '#a66697',
    500: '#7d226d',
    950: '#000000',
  },
}
SCSS
$custom: #7d226d;
$custom-light: #a66697;
$custom-dark: #000000;
JSON
{
  "hex": "#7d226d",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 310.549,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42427,
    "c": 0.15139,
    "h": 335.9
  },
  "luminance": 0.06608
}

Semantic roles & 50–950 ramp

primary
#7D226D
secondary
#4BB05D
accent
#E06247
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D226D

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

Preview Lab → · Contrast checker → · Palette generator →

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