#7E225D#7E225D

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

Color values

HEX#7E225D
RGBrgb(126, 34, 93)
HSLhsl(322, 58%, 31%)
HSVhsv(322, 73%, 49%)
CMYKcmyk(0%, 73%, 26.2%, 50.6%)
CIE-LABlab(30.33, 45.08, -13.26)
CIE-LCHlch(30.33, 46.99, 343.61°)
OKLaboklab(41.8% 0.1364 -0.0352)
OKLCHoklch(41.8% 0.141 345.5)
XYZxyz(11.1525, 6.3712, 10.9962)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E225D #227E43
analogous
#71227E #7E225D #7E222F
triadic
#7E225D #5D7E22 #225D7E
tetradic
#7E225D #7E7122 #227E43 #222F7E
square
#7E225D #7E7122 #227E43 #222F7E
split-complementary
#7E225D #2F7E22 #227E71
monochromatic
#1E0816 #4E1539 #7E225D #AE2F81 #CF4CA0

Accessibility & contrast

On white

9.23
#7E225D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7E225D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E225D
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E225D#FFFFFF#000000##FFFFFF
##7E225D1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3D5F
Deuteranopia (green-blind)
#484D5B
Tritanopia (blue-blind)
#87203C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e225d;
/* rgb */ color: rgb(126, 34, 93);
/* oklch */ color: oklch(41.8% 0.141 345.5);
Tailwind
colors: {
  custom: {
    50: '#a7668b',
    500: '#7e225d',
    950: '#000000',
  },
}
SCSS
$custom: #7e225d;
$custom-light: #a7668b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e225d",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 321.522,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41802,
    "c": 0.14089,
    "h": 345.5
  },
  "luminance": 0.0637
}

Semantic roles & 50–950 ramp

primary
#7E225D
secondary
#4BB170
accent
#E17E47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E225D

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

Preview Lab → · Contrast checker → · Palette generator →

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