#7C2153#7C2153

#7C2153 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.135 H 351.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#7C2153
RGBrgb(124, 33, 83)
HSLhsl(327, 58%, 31%)
HSVhsv(327, 73%, 49%)
CMYKcmyk(0%, 73.4%, 33.1%, 51.4%)
CIE-LABlab(29.41, 43.56, -8.15)
CIE-LCHlch(29.41, 44.31, 349.40°)
OKLaboklab(40.92% 0.133 -0.0212)
OKLCHoklch(40.92% 0.135 351)
XYZxyz(10.4179, 5.9985, 8.7911)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2153 #217C4A
analogous
#77217C #7C2153 #7C2125
triadic
#7C2153 #537C21 #21537C
tetradic
#7C2153 #7C7721 #217C4A #21257C
square
#7C2153 #7C7721 #217C4A #21257C
split-complementary
#7C2153 #257C21 #217C77
monochromatic
#1B0712 #4C1433 #7C2153 #AC2E73 #CF4992

Accessibility & contrast

On white

9.55
#7C2153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7C2153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2153
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2153#FFFFFF#000000##FFFFFF
##7C21531.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3B54
Deuteranopia (green-blind)
#494B51
Tritanopia (blue-blind)
#851B37
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c2153;
/* rgb */ color: rgb(124, 33, 83);
/* oklch */ color: oklch(40.9% 0.135 351.0);
Tailwind
colors: {
  custom: {
    50: '#a66583',
    500: '#7c2153',
    950: '#000000',
  },
}
SCSS
$custom: #7c2153;
$custom-light: #a66583;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2153",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 327.033,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40923,
    "c": 0.13471,
    "h": 351
  },
  "luminance": 0.05997
}

Semantic roles & 50–950 ramp

primary
#7C2153
secondary
#4AAF77
accent
#E18C47
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C2153

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

Preview Lab → · Contrast checker → · Palette generator →

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