#7D225C#7D225C

#7D225C is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.139 H 345.7°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#7D225C
RGBrgb(125, 34, 92)
HSLhsl(322, 57%, 31%)
HSVhsv(322, 73%, 49%)
CMYKcmyk(0%, 72.8%, 26.4%, 51%)
CIE-LABlab(30.10, 44.66, -12.97)
CIE-LCHlch(30.10, 46.50, 343.80°)
OKLaboklab(41.59% 0.1352 -0.0344)
OKLCHoklch(41.59% 0.139 345.7)
XYZxyz(10.9617, 6.2779, 10.7576)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D225C #227D43
analogous
#70227D #7D225C #7D222E
triadic
#7D225C #5C7D22 #225C7D
tetradic
#7D225C #7D7022 #227D43 #222E7D
square
#7D225C #7D7022 #227D43 #222E7D
split-complementary
#7D225C #2E7D22 #227D70
monochromatic
#1D0815 #4D1539 #7D225C #AD2F7F #CE4B9F

Accessibility & contrast

On white

9.31
#7D225C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7D225C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D225C
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D225C#FFFFFF#000000##FFFFFF
##7D225C1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3D5E
Deuteranopia (green-blind)
#484D5A
Tritanopia (blue-blind)
#86203C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d225c;
/* rgb */ color: rgb(125, 34, 92);
/* oklch */ color: oklch(41.6% 0.139 345.7);
Tailwind
colors: {
  custom: {
    50: '#a6658a',
    500: '#7d225c',
    950: '#000000',
  },
}
SCSS
$custom: #7d225c;
$custom-light: #a6658a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d225c",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 92
  },
  "hsl": {
    "h": 321.758,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41587,
    "c": 0.13948,
    "h": 345.7
  },
  "luminance": 0.06277
}

Semantic roles & 50–950 ramp

primary
#7D225C
secondary
#4BB070
accent
#E07F47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D225C

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

Preview Lab → · Contrast checker → · Palette generator →

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