#7D245F#7D245F

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

Color values

HEX#7D245F
RGBrgb(125, 36, 95)
HSLhsl(320, 55%, 32%)
HSVhsv(320, 71%, 49%)
CMYKcmyk(0%, 71.2%, 24%, 51%)
CIE-LABlab(30.52, 44.29, -14.28)
CIE-LCHlch(30.52, 46.53, 342.12°)
OKLaboklab(41.93% 0.1334 -0.0381)
OKLCHoklch(41.93% 0.139 344.1)
XYZxyz(11.1543, 6.4491, 11.4816)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D245F #247D42
analogous
#6F247D #7D245F #7D2432
triadic
#7D245F #5F7D24 #245F7D
tetradic
#7D245F #7D6F24 #247D42 #24327D
square
#7D245F #7D6F24 #247D42 #24327D
split-complementary
#7D245F #327D24 #247D6F
monochromatic
#1E0917 #4D163B #7D245F #AD3283 #CC4FA2

Accessibility & contrast

On white

9.17
#7D245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D245F
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D245F#FFFFFF#000000##FFFFFF
##7D245F1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3E61
Deuteranopia (green-blind)
#484D5D
Tritanopia (blue-blind)
#85243E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d245f;
/* rgb */ color: rgb(125, 36, 95);
/* oklch */ color: oklch(41.9% 0.139 344.1);
Tailwind
colors: {
  custom: {
    50: '#a6668c',
    500: '#7d245f',
    950: '#000000',
  },
}
SCSS
$custom: #7d245f;
$custom-light: #a6668c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d245f",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 320.225,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41933,
    "c": 0.13874,
    "h": 344.1
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

primary
#7D245F
secondary
#4DAF6E
accent
#DF7C49
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D245F

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

Preview Lab → · Contrast checker → · Palette generator →

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