#7D245E#7D245E

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

Color values

HEX#7D245E
RGBrgb(125, 36, 94)
HSLhsl(321, 55%, 32%)
HSVhsv(321, 71%, 49%)
CMYKcmyk(0%, 71.2%, 24.8%, 51%)
CIE-LABlab(30.47, 44.14, -13.70)
CIE-LCHlch(30.47, 46.22, 342.76°)
OKLaboklab(41.89% 0.1332 -0.0365)
OKLCHoklch(41.89% 0.138 344.7)
XYZxyz(11.1091, 6.4310, 11.2438)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D245E #247D43
analogous
#70247D #7D245E #7D2432
triadic
#7D245E #5E7D24 #245E7D
tetradic
#7D245E #7D7024 #247D43 #24327D
square
#7D245E #7D7024 #247D43 #24327D
split-complementary
#7D245E #327D24 #247D70
monochromatic
#1E0917 #4D163A #7D245E #AD3282 #CC4FA1

Accessibility & contrast

On white

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

On black

2.29
#7D245E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7D245E#FFFFFF#000000##FFFFFF
##7D245E1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3E60
Deuteranopia (green-blind)
#484D5C
Tritanopia (blue-blind)
#85233D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d245e;
/* rgb */ color: rgb(125, 36, 94);
/* oklch */ color: oklch(41.9% 0.138 344.7);
Tailwind
colors: {
  custom: {
    50: '#a6668b',
    500: '#7d245e',
    950: '#000000',
  },
}
SCSS
$custom: #7d245e;
$custom-light: #a6668b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d245e",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 320.899,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41887,
    "c": 0.13808,
    "h": 344.7
  },
  "luminance": 0.0643
}

Semantic roles & 50–950 ramp

primary
#7D245E
secondary
#4DAF70
accent
#DF7D49
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D245E

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

Preview Lab → · Contrast checker → · Palette generator →

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