#7A215E#7A215E

#7A215E is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.140 H 343.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#7A215E
RGBrgb(122, 33, 94)
HSLhsl(319, 57%, 30%)
HSVhsv(319, 73%, 48%)
CMYKcmyk(0%, 73%, 23%, 52.2%)
CIE-LABlab(29.50, 44.48, -15.25)
CIE-LCHlch(29.50, 47.02, 341.08°)
OKLaboklab(41.07% 0.1337 -0.0408)
OKLCHoklch(41.07% 0.14 343)
XYZxyz(10.5906, 6.0345, 11.1945)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A215E #217A3D
analogous
#69217A #7A215E #7A2132
triadic
#7A215E #5E7A21 #215E7A
tetradic
#7A215E #7A6921 #217A3D #21327A
square
#7A215E #7A6921 #217A3D #21327A
split-complementary
#7A215E #327A21 #217A69
monochromatic
#1A0714 #4A1439 #7A215E #AA2E83 #CD48A3

Accessibility & contrast

On white

9.52
#7A215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7A215E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A215E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A215E#FFFFFF#000000##FFFFFF
##7A215E1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a215e;
/* rgb */ color: rgb(122, 33, 94);
/* oklch */ color: oklch(41.1% 0.140 343.0);
Tailwind
colors: {
  custom: {
    50: '#a4658b',
    500: '#7a215e',
    950: '#000000',
  },
}
SCSS
$custom: #7a215e;
$custom-light: #a4658b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a215e",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 318.876,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41071,
    "c": 0.13982,
    "h": 343
  },
  "luminance": 0.06033
}

Semantic roles & 50–950 ramp

primary
#7A215E
secondary
#4AAD69
accent
#E17747
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7A215E

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

Preview Lab → · Contrast checker → · Palette generator →

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