#7E225E#7E225E

#7E225E is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.142 H 344.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#7E225E
RGBrgb(126, 34, 94)
HSLhsl(321, 58%, 31%)
HSVhsv(321, 73%, 49%)
CMYKcmyk(0%, 73%, 25.4%, 50.6%)
CIE-LABlab(30.37, 45.22, -13.84)
CIE-LCHlch(30.37, 47.29, 342.98°)
OKLaboklab(41.85% 0.1367 -0.0368)
OKLCHoklch(41.85% 0.142 344.9)
XYZxyz(11.1970, 6.3890, 11.2310)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E225E #227E42
analogous
#70227E #7E225E #7E2230
triadic
#7E225E #5E7E22 #225E7E
tetradic
#7E225E #7E7022 #227E42 #22307E
square
#7E225E #7E7022 #227E42 #22307E
split-complementary
#7E225E #307E22 #227E70
monochromatic
#1E0816 #4E153A #7E225E #AE2F82 #CF4CA1

Accessibility & contrast

On white

9.22
#7E225E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E225E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E225E
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E225E#FFFFFF#000000##FFFFFF
##7E225E1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3E60
Deuteranopia (green-blind)
#484D5C
Tritanopia (blue-blind)
#87213D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e225e;
/* rgb */ color: rgb(126, 34, 94);
/* oklch */ color: oklch(41.8% 0.142 344.9);
Tailwind
colors: {
  custom: {
    50: '#a7668b',
    500: '#7e225e',
    950: '#000000',
  },
}
SCSS
$custom: #7e225e;
$custom-light: #a7668b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e225e",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 94
  },
  "hsl": {
    "h": 320.87,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41847,
    "c": 0.14152,
    "h": 344.9
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#7E225E
secondary
#4BB16E
accent
#E17D47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E225E

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

Preview Lab → · Contrast checker → · Palette generator →

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