#7E205C#7E205C

#7E205C is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.143 H 345.9°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7E205C
RGBrgb(126, 32, 92)
HSLhsl(322, 59%, 31%)
HSVhsv(322, 75%, 49%)
CMYKcmyk(0%, 74.6%, 27%, 50.6%)
CIE-LABlab(30.02, 45.71, -13.09)
CIE-LCHlch(30.02, 47.54, 344.02°)
OKLaboklab(41.56% 0.1385 -0.0347)
OKLCHoklch(41.56% 0.143 345.9)
XYZxyz(11.0529, 6.2425, 10.7460)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E205C #207E42
analogous
#71207E #7E205C #7E202D
triadic
#7E205C #5C7E20 #205C7E
tetradic
#7E205C #7E7120 #207E42 #202D7E
square
#7E205C #7E7120 #207E42 #202D7E
split-complementary
#7E205C #2D7E20 #207E71
monochromatic
#1C0715 #4D1438 #7E205C #AF2C80 #D0489F

Accessibility & contrast

On white

9.34
#7E205C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7E205C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E205C
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E205C#FFFFFF#000000##FFFFFF
##7E205C1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3C5E
Deuteranopia (green-blind)
#484C5A
Tritanopia (blue-blind)
#871E3B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e205c;
/* rgb */ color: rgb(126, 32, 92);
/* oklch */ color: oklch(41.6% 0.143 345.9);
Tailwind
colors: {
  custom: {
    50: '#a7658a',
    500: '#7e205c',
    950: '#000000',
  },
}
SCSS
$custom: #7e205c;
$custom-light: #a7658a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e205c",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 92
  },
  "hsl": {
    "h": 321.702,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41559,
    "c": 0.14282,
    "h": 345.9
  },
  "luminance": 0.06241
}

Semantic roles & 50–950 ramp

primary
#7E205C
secondary
#49B16F
accent
#E37E45
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E205C

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

Preview Lab → · Contrast checker → · Palette generator →

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