#7A245E#7A245E

#7A245E is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.136 H 343.3°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#7A245E
RGBrgb(122, 36, 94)
HSLhsl(320, 54%, 31%)
HSVhsv(320, 70%, 48%)
CMYKcmyk(0%, 70.5%, 23%, 52.2%)
CIE-LABlab(29.93, 43.27, -14.58)
CIE-LCHlch(29.93, 45.66, 341.38°)
OKLaboklab(41.39% 0.13 -0.0389)
OKLCHoklch(41.39% 0.136 343.3)
XYZxyz(10.6777, 6.2085, 11.2235)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A245E #247A40
analogous
#6B247A #7A245E #7A2433
triadic
#7A245E #5E7A24 #245E7A
tetradic
#7A245E #7A6B24 #247A40 #24337A
square
#7A245E #7A6B24 #247A40 #24337A
split-complementary
#7A245E #337A24 #247A6B
monochromatic
#1B0815 #4B163A #7A245E #A93282 #CB4EA2

Accessibility & contrast

On white

9.37
#7A245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A245E
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A245E#FFFFFF#000000##FFFFFF
##7A245E1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a245e;
/* rgb */ color: rgb(122, 36, 94);
/* oklch */ color: oklch(41.4% 0.136 343.3);
Tailwind
colors: {
  custom: {
    50: '#a4668b',
    500: '#7a245e',
    950: '#000000',
  },
}
SCSS
$custom: #7a245e;
$custom-light: #a4668b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a245e",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 319.535,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41387,
    "c": 0.13575,
    "h": 343.3
  },
  "luminance": 0.06207
}

Semantic roles & 50–950 ramp

primary
#7A245E
secondary
#4DAC6C
accent
#DE7A4A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7A245E

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

Preview Lab → · Contrast checker → · Palette generator →

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