#7A2153#7A2153

#7A2153 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.6% C 0.133 H 350.1°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7A2153
RGBrgb(122, 33, 83)
HSLhsl(326, 57%, 30%)
HSVhsv(326, 73%, 48%)
CMYKcmyk(0%, 73%, 32%, 52.2%)
CIE-LABlab(29.03, 42.96, -8.75)
CIE-LCHlch(29.03, 43.85, 348.48°)
OKLaboklab(40.58% 0.1311 -0.0228)
OKLCHoklch(40.58% 0.133 350.1)
XYZxyz(10.1317, 5.8510, 8.7777)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2153 #217A48
analogous
#74217A #7A2153 #7A2127
triadic
#7A2153 #537A21 #21537A
tetradic
#7A2153 #7A7421 #217A48 #21277A
square
#7A2153 #7A7421 #217A48 #21277A
split-complementary
#7A2153 #277A21 #217A74
monochromatic
#1A0711 #4A1432 #7A2153 #AA2E74 #CD4893

Accessibility & contrast

On white

9.68
#7A2153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7A2153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2153
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2153#FFFFFF#000000##FFFFFF
##7A21531.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3A54
Deuteranopia (green-blind)
#484A51
Tritanopia (blue-blind)
#831C37
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a2153;
/* rgb */ color: rgb(122, 33, 83);
/* oklch */ color: oklch(40.6% 0.133 350.1);
Tailwind
colors: {
  custom: {
    50: '#a46483',
    500: '#7a2153',
    950: '#000000',
  },
}
SCSS
$custom: #7a2153;
$custom-light: #a46483;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2153",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 326.292,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40577,
    "c": 0.13303,
    "h": 350.1
  },
  "luminance": 0.0585
}

Semantic roles & 50–950 ramp

primary
#7A2153
secondary
#4AAD75
accent
#E18A47
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A2153

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

Preview Lab → · Contrast checker → · Palette generator →

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