#7A245C#7A245C

#7A245C is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.134 H 344.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7A245C
RGBrgb(122, 36, 92)
HSLhsl(321, 54%, 31%)
HSVhsv(321, 70%, 48%)
CMYKcmyk(0%, 70.5%, 24.6%, 52.2%)
CIE-LABlab(29.84, 42.98, -13.41)
CIE-LCHlch(29.84, 45.03, 342.67°)
OKLaboklab(41.29% 0.1296 -0.0357)
OKLCHoklch(41.29% 0.134 344.6)
XYZxyz(10.5891, 6.1731, 10.7570)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A245C #247A42
analogous
#6D247A #7A245C #7A2431
triadic
#7A245C #5C7A24 #245C7A
tetradic
#7A245C #7A6D24 #247A42 #24317A
square
#7A245C #7A6D24 #247A42 #24317A
split-complementary
#7A245C #317A24 #247A6D
monochromatic
#1B0815 #4B1638 #7A245C #A93280 #CB4E9F

Accessibility & contrast

On white

9.40
#7A245C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7A245C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A245C
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A245C#FFFFFF#000000##FFFFFF
##7A245C1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3D5E
Deuteranopia (green-blind)
#474C5A
Tritanopia (blue-blind)
#82233C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a245c;
/* rgb */ color: rgb(122, 36, 92);
/* oklch */ color: oklch(41.3% 0.134 344.6);
Tailwind
colors: {
  custom: {
    50: '#a4668a',
    500: '#7a245c',
    950: '#000000',
  },
}
SCSS
$custom: #7a245c;
$custom-light: #a4668a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a245c",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 320.93,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41294,
    "c": 0.13441,
    "h": 344.6
  },
  "luminance": 0.06172
}

Semantic roles & 50–950 ramp

primary
#7A245C
secondary
#4DAC6F
accent
#DE7E4A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A245C

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

Preview Lab → · Contrast checker → · Palette generator →

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