#7A215F#7A215F

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

Color values

HEX#7A215F
RGBrgb(122, 33, 95)
HSLhsl(318, 57%, 30%)
HSVhsv(318, 73%, 48%)
CMYKcmyk(0%, 73%, 22.1%, 52.2%)
CIE-LABlab(29.54, 44.63, -15.83)
CIE-LCHlch(29.54, 47.35, 340.47°)
OKLaboklab(41.12% 0.1339 -0.0424)
OKLCHoklch(41.12% 0.14 342.4)
XYZxyz(10.6358, 6.0526, 11.4324)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A215F #217A3C
analogous
#68217A #7A215F #7A2133
triadic
#7A215F #5F7A21 #215F7A
tetradic
#7A215F #7A6821 #217A3C #21337A
square
#7A215F #7A6821 #217A3C #21337A
split-complementary
#7A215F #337A21 #217A68
monochromatic
#1A0714 #4A1439 #7A215F #AA2E85 #CD48A5

Accessibility & contrast

On white

9.50
#7A215F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A215F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A215F#FFFFFF#000000##FFFFFF
##7A215F1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293C61
Deuteranopia (green-blind)
#444B5D
Tritanopia (blue-blind)
#82223D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a215f;
/* rgb */ color: rgb(122, 33, 95);
/* oklch */ color: oklch(41.1% 0.140 342.4);
Tailwind
colors: {
  custom: {
    50: '#a4658c',
    500: '#7a215f',
    950: '#000000',
  },
}
SCSS
$custom: #7a215f;
$custom-light: #a4658c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a215f",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 318.202,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41119,
    "c": 0.14049,
    "h": 342.4
  },
  "luminance": 0.06052
}

Semantic roles & 50–950 ramp

primary
#7A215F
secondary
#4AAD68
accent
#E17647
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7A215F

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

Preview Lab → · Contrast checker → · Palette generator →

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