#7C215B#7C215B

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

Color values

HEX#7C215B
RGBrgb(124, 33, 91)
HSLhsl(322, 58%, 31%)
HSVhsv(322, 73%, 49%)
CMYKcmyk(0%, 73.4%, 26.6%, 51.4%)
CIE-LABlab(29.74, 44.62, -12.90)
CIE-LCHlch(29.74, 46.45, 343.88°)
OKLaboklab(41.27% 0.1351 -0.0342)
OKLCHoklch(41.27% 0.139 345.8)
XYZxyz(10.7448, 6.1293, 10.5127)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C215B #217C42
analogous
#6F217C #7C215B #7C212D
triadic
#7C215B #5B7C21 #215B7C
tetradic
#7C215B #7C6F21 #217C42 #212D7C
square
#7C215B #7C6F21 #217C42 #212D7C
split-complementary
#7C215B #2D7C21 #217C6F
monochromatic
#1B0714 #4C1438 #7C215B #AC2E7E #CF499E

Accessibility & contrast

On white

9.44
#7C215B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C215B
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C215B#FFFFFF#000000##FFFFFF
##7C215B1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3C5D
Deuteranopia (green-blind)
#474C59
Tritanopia (blue-blind)
#851F3B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c215b;
/* rgb */ color: rgb(124, 33, 91);
/* oklch */ color: oklch(41.3% 0.139 345.8);
Tailwind
colors: {
  custom: {
    50: '#a56589',
    500: '#7c215b',
    950: '#000000',
  },
}
SCSS
$custom: #7c215b;
$custom-light: #a56589;
$custom-dark: #000000;
JSON
{
  "hex": "#7c215b",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 91
  },
  "hsl": {
    "h": 321.758,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4127,
    "c": 0.13939,
    "h": 345.8
  },
  "luminance": 0.06128
}

Semantic roles & 50–950 ramp

primary
#7C215B
secondary
#4AAF6F
accent
#E17F47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7C215B

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

Preview Lab → · Contrast checker → · Palette generator →

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