#7E205B#7E205B

#7E205B is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.142 H 346.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7E205B
RGBrgb(126, 32, 91)
HSLhsl(322, 59%, 31%)
HSVhsv(322, 75%, 49%)
CMYKcmyk(0%, 74.6%, 27.8%, 50.6%)
CIE-LABlab(29.97, 45.57, -12.50)
CIE-LCHlch(29.97, 47.25, 344.66°)
OKLaboklab(41.51% 0.1383 -0.0331)
OKLCHoklch(41.51% 0.142 346.6)
XYZxyz(11.0095, 6.2252, 10.5173)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E205B #207E43
analogous
#72207E #7E205B #7E202C
triadic
#7E205B #5B7E20 #205B7E
tetradic
#7E205B #7E7220 #207E43 #202C7E
square
#7E205B #7E7220 #207E43 #202C7E
split-complementary
#7E205B #2C7E20 #207E72
monochromatic
#1C0715 #4D1438 #7E205B #AF2C7E #D0489E

Accessibility & contrast

On white

9.35
#7E205B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7E205B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E205B
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E205B#FFFFFF#000000##FFFFFF
##7E205B1.009.352.249.35
#FFFFFF9.351.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3C5D
Deuteranopia (green-blind)
#484C59
Tritanopia (blue-blind)
#871D3A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e205b;
/* rgb */ color: rgb(126, 32, 91);
/* oklch */ color: oklch(41.5% 0.142 346.6);
Tailwind
colors: {
  custom: {
    50: '#a76589',
    500: '#7e205b',
    950: '#000000',
  },
}
SCSS
$custom: #7e205b;
$custom-light: #a76589;
$custom-dark: #000000;
JSON
{
  "hex": "#7e205b",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 91
  },
  "hsl": {
    "h": 322.34,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41513,
    "c": 0.14221,
    "h": 346.6
  },
  "luminance": 0.06224
}

Semantic roles & 50–950 ramp

primary
#7E205B
secondary
#49B170
accent
#E38045
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E205B

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

Preview Lab → · Contrast checker → · Palette generator →

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