#7C215A#7C215A

#7C215A is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.139 H 346.4°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#7C215A
RGBrgb(124, 33, 90)
HSLhsl(322, 58%, 31%)
HSVhsv(322, 73%, 49%)
CMYKcmyk(0%, 73.4%, 27.4%, 51.4%)
CIE-LABlab(29.69, 44.49, -12.31)
CIE-LCHlch(29.69, 46.16, 344.53°)
OKLaboklab(41.23% 0.1349 -0.0326)
OKLCHoklch(41.23% 0.139 346.4)
XYZxyz(10.7020, 6.1121, 10.2870)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C215A #217C43
analogous
#70217C #7C215A #7C212C
triadic
#7C215A #5A7C21 #215A7C
tetradic
#7C215A #7C7021 #217C43 #212C7C
square
#7C215A #7C7021 #217C43 #212C7C
split-complementary
#7C215A #2C7C21 #217C70
monochromatic
#1B0714 #4C1437 #7C215A #AC2E7D #CF499D

Accessibility & contrast

On white

9.45
#7C215A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7C215A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C215A
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C215A#FFFFFF#000000##FFFFFF
##7C215A1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3C5C
Deuteranopia (green-blind)
#474C58
Tritanopia (blue-blind)
#851F3A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c215a;
/* rgb */ color: rgb(124, 33, 90);
/* oklch */ color: oklch(41.2% 0.139 346.4);
Tailwind
colors: {
  custom: {
    50: '#a56588',
    500: '#7c215a',
    950: '#000000',
  },
}
SCSS
$custom: #7c215a;
$custom-light: #a56588;
$custom-dark: #000000;
JSON
{
  "hex": "#7c215a",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 90
  },
  "hsl": {
    "h": 322.418,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41225,
    "c": 0.13877,
    "h": 346.4
  },
  "luminance": 0.06111
}

Semantic roles & 50–950 ramp

primary
#7C215A
secondary
#4AAF70
accent
#E18047
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7C215A

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

Preview Lab → · Contrast checker → · Palette generator →

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