#7C215F#7C215F

#7C215F is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.142 H 343.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7C215F
RGBrgb(124, 33, 95)
HSLhsl(319, 58%, 31%)
HSVhsv(319, 73%, 49%)
CMYKcmyk(0%, 73.4%, 23.4%, 51.4%)
CIE-LABlab(29.91, 45.19, -15.23)
CIE-LCHlch(29.91, 47.69, 341.37°)
OKLaboklab(41.46% 0.136 -0.0407)
OKLCHoklch(41.46% 0.142 343.3)
XYZxyz(10.9220, 6.2001, 11.4458)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C215F #217C3E
analogous
#6B217C #7C215F #7C2131
triadic
#7C215F #5F7C21 #215F7C
tetradic
#7C215F #7C6B21 #217C3E #21317C
square
#7C215F #7C6B21 #217C3E #21317C
split-complementary
#7C215F #317C21 #217C6B
monochromatic
#1B0715 #4C143A #7C215F #AC2E84 #CF49A4

Accessibility & contrast

On white

9.38
#7C215F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C215F
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C215F#FFFFFF#000000##FFFFFF
##7C215F1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3D61
Deuteranopia (green-blind)
#464C5D
Tritanopia (blue-blind)
#84213D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c215f;
/* rgb */ color: rgb(124, 33, 95);
/* oklch */ color: oklch(41.5% 0.142 343.3);
Tailwind
colors: {
  custom: {
    50: '#a5658c',
    500: '#7c215f',
    950: '#000000',
  },
}
SCSS
$custom: #7c215f;
$custom-light: #a5658c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c215f",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 319.121,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41456,
    "c": 0.14197,
    "h": 343.3
  },
  "luminance": 0.06199
}

Semantic roles & 50–950 ramp

primary
#7C215F
secondary
#4AAF6A
accent
#E17847
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C215F

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

Preview Lab → · Contrast checker → · Palette generator →

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