#7A204B#7A204B

#7A204B is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.130 H 355.4°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7A204B
RGBrgb(122, 32, 75)
HSLhsl(331, 58%, 30%)
HSVhsv(331, 74%, 48%)
CMYKcmyk(0%, 73.8%, 38.5%, 52.2%)
CIE-LABlab(28.59, 42.37, -4.13)
CIE-LCHlch(28.59, 42.57, 354.44°)
OKLaboklab(40.15% 0.1299 -0.0103)
OKLCHoklch(40.15% 0.13 355.4)
XYZxyz(9.8132, 5.6798, 7.2348)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A204B #207A4F
analogous
#7A2078 #7A204B #7A2220
triadic
#7A204B #4B7A20 #204B7A
tetradic
#7A204B #787A20 #207A4F #22207A
square
#7A204B #787A20 #207A4F #22207A
split-complementary
#7A204B #207A22 #20787A
monochromatic
#19070F #4A132D #7A204B #AA2D69 #CE4687

Accessibility & contrast

On white

9.83
#7A204B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7A204B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A204B
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A204B#FFFFFF#000000##FFFFFF
##7A204B1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31394C
Deuteranopia (green-blind)
#4A4A49
Tritanopia (blue-blind)
#841732
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a204b;
/* rgb */ color: rgb(122, 32, 75);
/* oklch */ color: oklch(40.2% 0.130 355.4);
Tailwind
colors: {
  custom: {
    50: '#a4647d',
    500: '#7a204b',
    950: '#000000',
  },
}
SCSS
$custom: #7a204b;
$custom-light: #a4647d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a204b",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 75
  },
  "hsl": {
    "h": 331.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40153,
    "c": 0.13027,
    "h": 355.4
  },
  "luminance": 0.05679
}

Semantic roles & 50–950 ramp

primary
#7A204B
secondary
#49AD7D
accent
#E29746
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7A204B

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

Preview Lab → · Contrast checker → · Palette generator →

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