#7D245D#7D245D

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

Color values

HEX#7D245D
RGBrgb(125, 36, 93)
HSLhsl(322, 55%, 32%)
HSVhsv(322, 71%, 49%)
CMYKcmyk(0%, 71.2%, 25.6%, 51%)
CIE-LABlab(30.43, 44.00, -13.12)
CIE-LCHlch(30.43, 45.91, 343.40°)
OKLaboklab(41.84% 0.133 -0.0348)
OKLCHoklch(41.84% 0.137 345.3)
XYZxyz(11.0645, 6.4132, 11.0090)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D245D #247D44
analogous
#71247D #7D245D #7D2431
triadic
#7D245D #5D7D24 #245D7D
tetradic
#7D245D #7D7124 #247D44 #24317D
square
#7D245D #7D7124 #247D44 #24317D
split-complementary
#7D245D #317D24 #247D71
monochromatic
#1E0916 #4D163A #7D245D #AD3280 #CC4F9F

Accessibility & contrast

On white

9.20
#7D245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D245D
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D245D#FFFFFF#000000##FFFFFF
##7D245D1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3E5F
Deuteranopia (green-blind)
#484D5B
Tritanopia (blue-blind)
#86233D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d245d;
/* rgb */ color: rgb(125, 36, 93);
/* oklch */ color: oklch(41.8% 0.137 345.3);
Tailwind
colors: {
  custom: {
    50: '#a6668b',
    500: '#7d245d',
    950: '#000000',
  },
}
SCSS
$custom: #7d245d;
$custom-light: #a6668b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d245d",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 321.573,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41841,
    "c": 0.13744,
    "h": 345.3
  },
  "luminance": 0.06412
}

Semantic roles & 50–950 ramp

primary
#7D245D
secondary
#4DAF71
accent
#DF7F49
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D245D

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

Preview Lab → · Contrast checker → · Palette generator →

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