#7E2153#7E2153

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

Color values

HEX#7E2153
RGBrgb(126, 33, 83)
HSLhsl(328, 58%, 31%)
HSVhsv(328, 74%, 49%)
CMYKcmyk(0%, 73.8%, 34.1%, 50.6%)
CIE-LABlab(29.79, 44.15, -7.55)
CIE-LCHlch(29.79, 44.79, 350.30°)
OKLaboklab(41.27% 0.135 -0.0195)
OKLCHoklch(41.27% 0.136 351.8)
XYZxyz(10.7100, 6.1491, 8.8048)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2153 #217E4C
analogous
#7A217E #7E2153 #7E2124
triadic
#7E2153 #537E21 #21537E
tetradic
#7E2153 #7E7A21 #217E4C #21247E
square
#7E2153 #7E7A21 #217E4C #21247E
split-complementary
#7E2153 #247E21 #217E7A
monochromatic
#1D0813 #4E1433 #7E2153 #AE2E73 #D04A92

Accessibility & contrast

On white

9.42
#7E2153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2153
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2153#FFFFFF#000000##FFFFFF
##7E21531.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303B54
Deuteranopia (green-blind)
#4B4C51
Tritanopia (blue-blind)
#881A37
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2153;
/* rgb */ color: rgb(126, 33, 83);
/* oklch */ color: oklch(41.3% 0.136 351.8);
Tailwind
colors: {
  custom: {
    50: '#a76583',
    500: '#7e2153',
    950: '#000000',
  },
}
SCSS
$custom: #7e2153;
$custom-light: #a76583;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2153",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 327.742,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4127,
    "c": 0.13641,
    "h": 351.8
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#7E2153
secondary
#4AB17A
accent
#E28E46
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E2153

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

Preview Lab → · Contrast checker → · Palette generator →

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