#7E2053#7E2053

#7E2053 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.138 H 351.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7E2053
RGBrgb(126, 32, 83)
HSLhsl(327, 59%, 31%)
HSVhsv(327, 75%, 49%)
CMYKcmyk(0%, 74.6%, 34.1%, 50.6%)
CIE-LABlab(29.65, 44.53, -7.75)
CIE-LCHlch(29.65, 45.20, 350.13°)
OKLaboklab(41.17% 0.1362 -0.02)
OKLCHoklch(41.17% 0.138 351.6)
XYZxyz(10.6826, 6.0944, 8.7957)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2053 #207E4B
analogous
#7A207E #7E2053 #7E2024
triadic
#7E2053 #537E20 #20537E
tetradic
#7E2053 #7E7A20 #207E4B #20247E
square
#7E2053 #7E7A20 #207E4B #20247E
split-complementary
#7E2053 #247E20 #207E7A
monochromatic
#1C0713 #4D1433 #7E2053 #AF2C73 #D04892

Accessibility & contrast

On white

9.47
#7E2053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E2053 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2053
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2053#FFFFFF#000000##FFFFFF
##7E20531.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303B54
Deuteranopia (green-blind)
#4A4C51
Tritanopia (blue-blind)
#881936
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2053;
/* rgb */ color: rgb(126, 32, 83);
/* oklch */ color: oklch(41.2% 0.138 351.6);
Tailwind
colors: {
  custom: {
    50: '#a76483',
    500: '#7e2053',
    950: '#000000',
  },
}
SCSS
$custom: #7e2053;
$custom-light: #a76483;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2053",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 83
  },
  "hsl": {
    "h": 327.447,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4117,
    "c": 0.13767,
    "h": 351.6
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

primary
#7E2053
secondary
#49B178
accent
#E38D45
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E2053

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

Preview Lab → · Contrast checker → · Palette generator →

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