#7D245C#7D245C

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

Color values

HEX#7D245C
RGBrgb(125, 36, 92)
HSLhsl(322, 55%, 32%)
HSVhsv(322, 71%, 49%)
CMYKcmyk(0%, 71.2%, 26.4%, 51%)
CIE-LABlab(30.39, 43.86, -12.53)
CIE-LCHlch(30.39, 45.61, 344.05°)
OKLaboklab(41.8% 0.1327 -0.0332)
OKLCHoklch(41.8% 0.137 346)
XYZxyz(11.0205, 6.3956, 10.7772)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D245C #247D45
analogous
#72247D #7D245C #7D2430
triadic
#7D245C #5C7D24 #245C7D
tetradic
#7D245C #7D7224 #247D45 #24307D
square
#7D245C #7D7224 #247D45 #24307D
split-complementary
#7D245C #307D24 #247D72
monochromatic
#1E0916 #4D1639 #7D245C #AD327F #CC4F9E

Accessibility & contrast

On white

9.22
#7D245C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D245C
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D245C#FFFFFF#000000##FFFFFF
##7D245C1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3E5E
Deuteranopia (green-blind)
#494D5A
Tritanopia (blue-blind)
#86223C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d245c;
/* rgb */ color: rgb(125, 36, 92);
/* oklch */ color: oklch(41.8% 0.137 346.0);
Tailwind
colors: {
  custom: {
    50: '#a6668a',
    500: '#7d245c',
    950: '#000000',
  },
}
SCSS
$custom: #7d245c;
$custom-light: #a6668a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d245c",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 322.247,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41796,
    "c": 0.1368,
    "h": 346
  },
  "luminance": 0.06394
}

Semantic roles & 50–950 ramp

primary
#7D245C
secondary
#4DAF72
accent
#DF8149
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D245C

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

Preview Lab → · Contrast checker → · Palette generator →

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