#7D2254#7D2254

#7D2254 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.135 H 350.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7D2254
RGBrgb(125, 34, 84)
HSLhsl(327, 57%, 31%)
HSVhsv(327, 73%, 49%)
CMYKcmyk(0%, 72.8%, 32.8%, 51%)
CIE-LABlab(29.78, 43.59, -8.24)
CIE-LCHlch(29.78, 44.36, 349.30°)
OKLaboklab(41.24% 0.1331 -0.0214)
OKLCHoklch(41.24% 0.135 350.9)
XYZxyz(10.6303, 6.1453, 9.0121)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2254 #227D4B
analogous
#78227D #7D2254 #7D2226
triadic
#7D2254 #547D22 #22547D
tetradic
#7D2254 #7D7822 #227D4B #22267D
square
#7D2254 #7D7822 #227D4B #22267D
split-complementary
#7D2254 #267D22 #227D78
monochromatic
#1D0813 #4D1534 #7D2254 #AD2F74 #CE4B93

Accessibility & contrast

On white

9.42
#7D2254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7D2254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2254
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2254#FFFFFF#000000##FFFFFF
##7D22541.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303C55
Deuteranopia (green-blind)
#4A4C52
Tritanopia (blue-blind)
#871C38
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d2254;
/* rgb */ color: rgb(125, 34, 84);
/* oklch */ color: oklch(41.2% 0.135 350.9);
Tailwind
colors: {
  custom: {
    50: '#a66584',
    500: '#7d2254',
    950: '#000000',
  },
}
SCSS
$custom: #7d2254;
$custom-light: #a66584;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2254",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 327.033,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41241,
    "c": 0.1348,
    "h": 350.9
  },
  "luminance": 0.06144
}

Semantic roles & 50–950 ramp

primary
#7D2254
secondary
#4BB078
accent
#E08C47
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D2254

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

Preview Lab → · Contrast checker → · Palette generator →

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