#7D245A#7D245A

#7D245A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.7% C 0.136 H 347.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7D245A
RGBrgb(125, 36, 90)
HSLhsl(324, 55%, 32%)
HSVhsv(324, 71%, 49%)
CMYKcmyk(0%, 71.2%, 28%, 51%)
CIE-LABlab(30.31, 43.58, -11.36)
CIE-LCHlch(30.31, 45.04, 345.39°)
OKLaboklab(41.71% 0.1322 -0.03)
OKLCHoklch(41.71% 0.136 347.2)
XYZxyz(10.9343, 6.3611, 10.3228)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D245A #247D47
analogous
#74247D #7D245A #7D242D
triadic
#7D245A #5A7D24 #245A7D
tetradic
#7D245A #7D7424 #247D47 #242D7D
square
#7D245A #7D7424 #247D47 #242D7D
split-complementary
#7D245A #2D7D24 #247D74
monochromatic
#1E0916 #4D1638 #7D245A #AD327C #CC4F9B

Accessibility & contrast

On white

9.24
#7D245A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7D245A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D245A
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D245A#FFFFFF#000000##FFFFFF
##7D245A1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3E5C
Deuteranopia (green-blind)
#494D58
Tritanopia (blue-blind)
#86213B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d245a;
/* rgb */ color: rgb(125, 36, 90);
/* oklch */ color: oklch(41.7% 0.136 347.2);
Tailwind
colors: {
  custom: {
    50: '#a66688',
    500: '#7d245a',
    950: '#000000',
  },
}
SCSS
$custom: #7d245a;
$custom-light: #a66688;
$custom-dark: #000000;
JSON
{
  "hex": "#7d245a",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 90
  },
  "hsl": {
    "h": 323.596,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41708,
    "c": 0.13556,
    "h": 347.2
  },
  "luminance": 0.0636
}

Semantic roles & 50–950 ramp

primary
#7D245A
secondary
#4DAF74
accent
#DF8449
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D245A

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

Preview Lab → · Contrast checker → · Palette generator →

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