#7E224C#7E224C

#7E224C is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.132 H 356.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7E224C
RGBrgb(126, 34, 76)
HSLhsl(333, 58%, 31%)
HSVhsv(333, 73%, 49%)
CMYKcmyk(0%, 73%, 39.7%, 50.6%)
CIE-LABlab(29.67, 42.92, -3.10)
CIE-LCHlch(29.67, 43.03, 355.86°)
OKLaboklab(41.1% 0.1316 -0.0076)
OKLCHoklch(41.1% 0.132 356.7)
XYZxyz(10.4814, 6.1027, 7.4621)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E224C #227E54
analogous
#7E227A #7E224C #7E2622
triadic
#7E224C #4C7E22 #224C7E
tetradic
#7E224C #7A7E22 #227E54 #26227E
square
#7E224C #7A7E22 #227E54 #26227E
split-complementary
#7E224C #227E26 #227A7E
monochromatic
#1E0812 #4E152F #7E224C #AE2F69 #CF4C88

Accessibility & contrast

On white

9.46
#7E224C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E224C
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E224C#FFFFFF#000000##FFFFFF
##7E224C1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4D
Deuteranopia (green-blind)
#4D4C4A
Tritanopia (blue-blind)
#881834
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e224c;
/* rgb */ color: rgb(126, 34, 76);
/* oklch */ color: oklch(41.1% 0.132 356.7);
Tailwind
colors: {
  custom: {
    50: '#a7657e',
    500: '#7e224c',
    950: '#000000',
  },
}
SCSS
$custom: #7e224c;
$custom-light: #a7657e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e224c",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 76
  },
  "hsl": {
    "h": 332.609,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41102,
    "c": 0.13179,
    "h": 356.7
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

primary
#7E224C
secondary
#4BB182
accent
#E19B47
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E224C

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

Preview Lab → · Contrast checker → · Palette generator →

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