#7D255A#7D255A

#7D255A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.134 H 347.4°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7D255A
RGBrgb(125, 37, 90)
HSLhsl(324, 54%, 32%)
HSVhsv(324, 70%, 49%)
CMYKcmyk(0%, 70.4%, 28%, 51%)
CIE-LABlab(30.45, 43.17, -11.13)
CIE-LCHlch(30.45, 44.58, 345.54°)
OKLaboklab(41.82% 0.1309 -0.0293)
OKLCHoklch(41.82% 0.134 347.4)
XYZxyz(10.9650, 6.4224, 10.3331)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D255A #257D48
analogous
#74257D #7D255A #7D252E
triadic
#7D255A #5A7D25 #255A7D
tetradic
#7D255A #7D7425 #257D48 #252E7D
square
#7D255A #7D7425 #257D48 #252E7D
split-complementary
#7D255A #2E7D25 #257D74
monochromatic
#1F0916 #4E1738 #7D255A #AC337C #CB519B

Accessibility & contrast

On white

9.19
#7D255A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7D255A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D255A
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D255A#FFFFFF#000000##FFFFFF
##7D255A1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303E5C
Deuteranopia (green-blind)
#4A4D58
Tritanopia (blue-blind)
#86223C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d255a;
/* rgb */ color: rgb(125, 37, 90);
/* oklch */ color: oklch(41.8% 0.134 347.4);
Tailwind
colors: {
  custom: {
    50: '#a66788',
    500: '#7d255a',
    950: '#000000',
  },
}
SCSS
$custom: #7d255a;
$custom-light: #a66788;
$custom-dark: #000000;
JSON
{
  "hex": "#7d255a",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 323.864,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41816,
    "c": 0.13418,
    "h": 347.4
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#7D255A
secondary
#4FAF75
accent
#DE854A
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D255A

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

Preview Lab → · Contrast checker → · Palette generator →

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