#7D225A#7D225A

#7D225A is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.138 H 347.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7D225A
RGBrgb(125, 34, 90)
HSLhsl(323, 57%, 31%)
HSVhsv(323, 73%, 49%)
CMYKcmyk(0%, 72.8%, 28%, 51%)
CIE-LABlab(30.02, 44.38, -11.80)
CIE-LCHlch(30.02, 45.92, 345.12°)
OKLaboklab(41.5% 0.1347 -0.0311)
OKLCHoklch(41.5% 0.138 347)
XYZxyz(10.8754, 6.2434, 10.3032)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D225A #227D45
analogous
#72227D #7D225A #7D222C
triadic
#7D225A #5A7D22 #225A7D
tetradic
#7D225A #7D7222 #227D45 #222C7D
square
#7D225A #7D7222 #227D45 #222C7D
split-complementary
#7D225A #2C7D22 #227D72
monochromatic
#1D0815 #4D1537 #7D225A #AD2F7D #CE4B9C

Accessibility & contrast

On white

9.34
#7D225A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7D225A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D225A
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D225A#FFFFFF#000000##FFFFFF
##7D225A1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3D5C
Deuteranopia (green-blind)
#494C58
Tritanopia (blue-blind)
#861F3B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d225a;
/* rgb */ color: rgb(125, 34, 90);
/* oklch */ color: oklch(41.5% 0.138 347.0);
Tailwind
colors: {
  custom: {
    50: '#a66588',
    500: '#7d225a',
    950: '#000000',
  },
}
SCSS
$custom: #7d225a;
$custom-light: #a66588;
$custom-dark: #000000;
JSON
{
  "hex": "#7d225a",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 323.077,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41497,
    "c": 0.13825,
    "h": 347
  },
  "luminance": 0.06242
}

Semantic roles & 50–950 ramp

primary
#7D225A
secondary
#4BB072
accent
#E08247
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D225A

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

Preview Lab → · Contrast checker → · Palette generator →

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