#7C215D#7C215D

#7C215D is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.141 H 344.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7C215D
RGBrgb(124, 33, 93)
HSLhsl(320, 58%, 31%)
HSVhsv(320, 73%, 49%)
CMYKcmyk(0%, 73.4%, 25%, 51.4%)
CIE-LABlab(29.82, 44.90, -14.07)
CIE-LCHlch(29.82, 47.06, 342.61°)
OKLaboklab(41.36% 0.1356 -0.0375)
OKLCHoklch(41.36% 0.141 344.6)
XYZxyz(10.8322, 6.1642, 10.9732)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C215D #217C40
analogous
#6D217C #7C215D #7C212F
triadic
#7C215D #5D7C21 #215D7C
tetradic
#7C215D #7C6D21 #217C40 #212F7C
square
#7C215D #7C6D21 #217C40 #212F7C
split-complementary
#7C215D #2F7C21 #217C6D
monochromatic
#1B0714 #4C1439 #7C215D #AC2E81 #CF49A1

Accessibility & contrast

On white

9.41
#7C215D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7C215D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C215D
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C215D#FFFFFF#000000##FFFFFF
##7C215D1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3C5F
Deuteranopia (green-blind)
#474C5B
Tritanopia (blue-blind)
#84203C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c215d;
/* rgb */ color: rgb(124, 33, 93);
/* oklch */ color: oklch(41.4% 0.141 344.6);
Tailwind
colors: {
  custom: {
    50: '#a5658b',
    500: '#7c215d',
    950: '#000000',
  },
}
SCSS
$custom: #7c215d;
$custom-light: #a5658b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c215d",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 93
  },
  "hsl": {
    "h": 320.44,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41362,
    "c": 0.14066,
    "h": 344.6
  },
  "luminance": 0.06163
}

Semantic roles & 50–950 ramp

primary
#7C215D
secondary
#4AAF6C
accent
#E17B47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C215D

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

Preview Lab → · Contrast checker → · Palette generator →

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