#7E224D#7E224D

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

Color values

HEX#7E224D
RGBrgb(126, 34, 77)
HSLhsl(332, 58%, 31%)
HSVhsv(332, 73%, 49%)
CMYKcmyk(0%, 73%, 38.9%, 50.6%)
CIE-LABlab(29.71, 43.03, -3.71)
CIE-LCHlch(29.71, 43.19, 355.07°)
OKLaboklab(41.14% 0.1319 -0.0092)
OKLCHoklch(41.14% 0.132 356)
XYZxyz(10.5164, 6.1168, 7.6466)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E224D #227E53
analogous
#7E227B #7E224D #7E2522
triadic
#7E224D #4D7E22 #224D7E
tetradic
#7E224D #7B7E22 #227E53 #25227E
square
#7E224D #7B7E22 #227E53 #25227E
split-complementary
#7E224D #227E25 #227B7E
monochromatic
#1E0812 #4E1530 #7E224D #AE2F6A #CF4C89

Accessibility & contrast

On white

9.45
#7E224D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E224D
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E224D#FFFFFF#000000##FFFFFF
##7E224D1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B4E
Deuteranopia (green-blind)
#4D4C4B
Tritanopia (blue-blind)
#881934
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e224d;
/* rgb */ color: rgb(126, 34, 77);
/* oklch */ color: oklch(41.1% 0.132 356.0);
Tailwind
colors: {
  custom: {
    50: '#a7657e',
    500: '#7e224d',
    950: '#000000',
  },
}
SCSS
$custom: #7e224d;
$custom-light: #a7657e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e224d",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 77
  },
  "hsl": {
    "h": 331.957,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41139,
    "c": 0.13222,
    "h": 356
  },
  "luminance": 0.06115
}

Semantic roles & 50–950 ramp

primary
#7E224D
secondary
#4BB181
accent
#E19947
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E224D

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

Preview Lab → · Contrast checker → · Palette generator →

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