#7A245D#7A245D

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

Color values

HEX#7A245D
RGBrgb(122, 36, 93)
HSLhsl(320, 54%, 31%)
HSVhsv(320, 70%, 48%)
CMYKcmyk(0%, 70.5%, 23.8%, 52.2%)
CIE-LABlab(29.89, 43.13, -14.00)
CIE-LCHlch(29.89, 45.34, 342.02°)
OKLaboklab(41.34% 0.1298 -0.0373)
OKLCHoklch(41.34% 0.135 344)
XYZxyz(10.6331, 6.1907, 10.9887)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A245D #247A41
analogous
#6C247A #7A245D #7A2432
triadic
#7A245D #5D7A24 #245D7A
tetradic
#7A245D #7A6C24 #247A41 #24327A
square
#7A245D #7A6C24 #247A41 #24327A
split-complementary
#7A245D #327A24 #247A6C
monochromatic
#1B0815 #4B1639 #7A245D #A93281 #CB4EA1

Accessibility & contrast

On white

9.38
#7A245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7A245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A245D
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A245D#FFFFFF#000000##FFFFFF
##7A245D1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3D5F
Deuteranopia (green-blind)
#464C5B
Tritanopia (blue-blind)
#82243D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a245d;
/* rgb */ color: rgb(122, 36, 93);
/* oklch */ color: oklch(41.3% 0.135 344.0);
Tailwind
colors: {
  custom: {
    50: '#a4668b',
    500: '#7a245d',
    950: '#000000',
  },
}
SCSS
$custom: #7a245d;
$custom-light: #a4668b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a245d",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 320.233,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4134,
    "c": 0.13507,
    "h": 344
  },
  "luminance": 0.0619
}

Semantic roles & 50–950 ramp

primary
#7A245D
secondary
#4DAC6D
accent
#DE7C4A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7A245D

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

Preview Lab → · Contrast checker → · Palette generator →

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