#7A2168#7A2168

#7A2168 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.147 H 337.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7A2168
RGBrgb(122, 33, 104)
HSLhsl(312, 57%, 30%)
HSVhsv(312, 73%, 48%)
CMYKcmyk(0%, 73%, 14.8%, 52.2%)
CIE-LABlab(29.98, 46.00, -20.98)
CIE-LCHlch(29.98, 50.56, 335.48°)
OKLaboklab(41.57% 0.1354 -0.057)
OKLCHoklch(41.57% 0.147 337.2)
XYZxyz(11.0688, 6.2258, 13.7128)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2168 #217A33
analogous
#5F217A #7A2168 #7A213B
triadic
#7A2168 #687A21 #21687A
tetradic
#7A2168 #7A5F21 #217A33 #213B7A
square
#7A2168 #7A5F21 #217A33 #213B7A
split-complementary
#7A2168 #3B7A21 #217A5F
monochromatic
#1A0716 #4A143F #7A2168 #AA2E91 #CD48B2

Accessibility & contrast

On white

9.35
#7A2168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7A2168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2168
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2168#FFFFFF#000000##FFFFFF
##7A21681.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243E6A
Deuteranopia (green-blind)
#414B66
Tritanopia (blue-blind)
#812641
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a2168;
/* rgb */ color: rgb(122, 33, 104);
/* oklch */ color: oklch(41.6% 0.147 337.2);
Tailwind
colors: {
  custom: {
    50: '#a36593',
    500: '#7a2168',
    950: '#000000',
  },
}
SCSS
$custom: #7a2168;
$custom-light: #a36593;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2168",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 312.135,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41572,
    "c": 0.14695,
    "h": 337.2
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#7A2168
secondary
#4AAD5E
accent
#E16647
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7A2168

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

Preview Lab → · Contrast checker → · Palette generator →

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