#7D225E#7D225E

#7D225E is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.141 H 344.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7D225E
RGBrgb(125, 34, 94)
HSLhsl(320, 57%, 31%)
HSVhsv(320, 73%, 49%)
CMYKcmyk(0%, 72.8%, 24.8%, 51%)
CIE-LABlab(30.19, 44.94, -14.14)
CIE-LCHlch(30.19, 47.11, 342.54°)
OKLaboklab(41.68% 0.1356 -0.0377)
OKLCHoklch(41.68% 0.141 344.5)
XYZxyz(11.0503, 6.3133, 11.2241)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D225E #227D41
analogous
#6E227D #7D225E #7D2230
triadic
#7D225E #5E7D22 #225E7D
tetradic
#7D225E #7D6E22 #227D41 #22307D
square
#7D225E #7D6E22 #227D41 #22307D
split-complementary
#7D225E #307D22 #227D6E
monochromatic
#1D0816 #4D153A #7D225E #AD2F82 #CE4BA2

Accessibility & contrast

On white

9.28
#7D225E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D225E
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D225E#FFFFFF#000000##FFFFFF
##7D225E1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3D60
Deuteranopia (green-blind)
#474D5C
Tritanopia (blue-blind)
#85213D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d225e;
/* rgb */ color: rgb(125, 34, 94);
/* oklch */ color: oklch(41.7% 0.141 344.5);
Tailwind
colors: {
  custom: {
    50: '#a6658b',
    500: '#7d225e',
    950: '#000000',
  },
}
SCSS
$custom: #7d225e;
$custom-light: #a6658b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d225e",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 94
  },
  "hsl": {
    "h": 320.44,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41678,
    "c": 0.14076,
    "h": 344.5
  },
  "luminance": 0.06312
}

Semantic roles & 50–950 ramp

primary
#7D225E
secondary
#4BB06D
accent
#E07B47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D225E

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

Preview Lab → · Contrast checker → · Palette generator →

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