#7C215E#7C215E

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

Color values

HEX#7C215E
RGBrgb(124, 33, 94)
HSLhsl(320, 58%, 31%)
HSVhsv(320, 73%, 49%)
CMYKcmyk(0%, 73.4%, 24.2%, 51.4%)
CIE-LABlab(29.87, 45.05, -14.65)
CIE-LCHlch(29.87, 47.37, 341.98°)
OKLaboklab(41.41% 0.1358 -0.0391)
OKLCHoklch(41.41% 0.141 343.9)
XYZxyz(10.8768, 6.1821, 11.2079)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C215E #217C3F
analogous
#6C217C #7C215E #7C2130
triadic
#7C215E #5E7C21 #215E7C
tetradic
#7C215E #7C6C21 #217C3F #21307C
square
#7C215E #7C6C21 #217C3F #21307C
split-complementary
#7C215E #307C21 #217C6C
monochromatic
#1B0715 #4C1439 #7C215E #AC2E83 #CF49A2

Accessibility & contrast

On white

9.39
#7C215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7C215E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C215E
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C215E#FFFFFF#000000##FFFFFF
##7C215E1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D60
Deuteranopia (green-blind)
#464C5C
Tritanopia (blue-blind)
#84213C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c215e;
/* rgb */ color: rgb(124, 33, 94);
/* oklch */ color: oklch(41.4% 0.141 343.9);
Tailwind
colors: {
  custom: {
    50: '#a5658b',
    500: '#7c215e',
    950: '#000000',
  },
}
SCSS
$custom: #7c215e;
$custom-light: #a5658b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c215e",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 319.78,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41409,
    "c": 0.14131,
    "h": 343.9
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

primary
#7C215E
secondary
#4AAF6B
accent
#E17A47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C215E

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

Preview Lab → · Contrast checker → · Palette generator →

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