#7C2162#7C2162

#7C2162 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.144 H 341.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#7C2162
RGBrgb(124, 33, 98)
HSLhsl(317, 58%, 31%)
HSVhsv(317, 73%, 49%)
CMYKcmyk(0%, 73.4%, 21%, 51.4%)
CIE-LABlab(30.05, 45.63, -16.97)
CIE-LCHlch(30.05, 48.68, 339.60°)
OKLaboklab(41.6% 0.1366 -0.0456)
OKLCHoklch(41.6% 0.144 341.5)
XYZxyz(11.0610, 6.2557, 12.1779)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2162 #217C3B
analogous
#68217C #7C2162 #7C2134
triadic
#7C2162 #627C21 #21627C
tetradic
#7C2162 #7C6821 #217C3B #21347C
square
#7C2162 #7C6821 #217C3B #21347C
split-complementary
#7C2162 #347C21 #217C68
monochromatic
#1B0716 #4C143C #7C2162 #AC2E88 #CF49A8

Accessibility & contrast

On white

9.33
#7C2162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C2162
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2162#FFFFFF#000000##FFFFFF
##7C21621.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283D64
Deuteranopia (green-blind)
#454C60
Tritanopia (blue-blind)
#84223E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c2162;
/* rgb */ color: rgb(124, 33, 98);
/* oklch */ color: oklch(41.6% 0.144 341.5);
Tailwind
colors: {
  custom: {
    50: '#a5658e',
    500: '#7c2162',
    950: '#000000',
  },
}
SCSS
$custom: #7c2162;
$custom-light: #a5658e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2162",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 317.143,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.416,
    "c": 0.14399,
    "h": 341.5
  },
  "luminance": 0.06255
}

Semantic roles & 50–950 ramp

primary
#7C2162
secondary
#4AAF67
accent
#E17347
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C2162

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

Preview Lab → · Contrast checker → · Palette generator →

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