#7A215D#7A215D

#7A215D is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.139 H 343.7°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7A215D
RGBrgb(122, 33, 93)
HSLhsl(320, 57%, 30%)
HSVhsv(320, 73%, 48%)
CMYKcmyk(0%, 73%, 23.8%, 52.2%)
CIE-LABlab(29.45, 44.34, -14.66)
CIE-LCHlch(29.45, 46.70, 341.70°)
OKLaboklab(41.02% 0.1335 -0.0391)
OKLCHoklch(41.02% 0.139 343.7)
XYZxyz(10.5461, 6.0167, 10.9597)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A215D #217A3E
analogous
#6A217A #7A215D #7A2130
triadic
#7A215D #5D7A21 #215D7A
tetradic
#7A215D #7A6A21 #217A3E #21307A
square
#7A215D #7A6A21 #217A3E #21307A
split-complementary
#7A215D #307A21 #217A6A
monochromatic
#1A0714 #4A1438 #7A215D #AA2E82 #CD48A2

Accessibility & contrast

On white

9.53
#7A215D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7A215D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A215D
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A215D#FFFFFF#000000##FFFFFF
##7A215D1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3C5F
Deuteranopia (green-blind)
#454B5B
Tritanopia (blue-blind)
#82213C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a215d;
/* rgb */ color: rgb(122, 33, 93);
/* oklch */ color: oklch(41.0% 0.139 343.7);
Tailwind
colors: {
  custom: {
    50: '#a4658b',
    500: '#7a215d',
    950: '#000000',
  },
}
SCSS
$custom: #7a215d;
$custom-light: #a4658b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a215d",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 93
  },
  "hsl": {
    "h": 319.551,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41023,
    "c": 0.13915,
    "h": 343.7
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#7A215D
secondary
#4AAD6A
accent
#E17947
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7A215D

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

Preview Lab → · Contrast checker → · Palette generator →

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