#7D2154#7D2154

#7D2154 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.136 H 350.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7D2154
RGBrgb(125, 33, 84)
HSLhsl(327, 58%, 31%)
HSVhsv(327, 74%, 49%)
CMYKcmyk(0%, 73.6%, 32.8%, 51%)
CIE-LABlab(29.64, 43.98, -8.45)
CIE-LCHlch(29.64, 44.79, 349.13°)
OKLaboklab(41.14% 0.1343 -0.0219)
OKLCHoklch(41.14% 0.136 350.7)
XYZxyz(10.6021, 6.0890, 9.0027)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2154 #217D4A
analogous
#78217D #7D2154 #7D2126
triadic
#7D2154 #547D21 #21547D
tetradic
#7D2154 #7D7821 #217D4A #21267D
square
#7D2154 #7D7821 #217D4A #21267D
split-complementary
#7D2154 #267D21 #217D78
monochromatic
#1C0713 #4D1433 #7D2154 #AD2E75 #CF4993

Accessibility & contrast

On white

9.47
#7D2154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7D2154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2154
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2154#FFFFFF#000000##FFFFFF
##7D21541.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2154;
/* rgb */ color: rgb(125, 33, 84);
/* oklch */ color: oklch(41.1% 0.136 350.7);
Tailwind
colors: {
  custom: {
    50: '#a66584',
    500: '#7d2154',
    950: '#000000',
  },
}
SCSS
$custom: #7d2154;
$custom-light: #a66584;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2154",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 326.739,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41138,
    "c": 0.13609,
    "h": 350.7
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#7D2154
secondary
#4AB077
accent
#E18B46
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D2154

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

Preview Lab → · Contrast checker → · Palette generator →

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