#7E224F#7E224F

#7E224F is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.133 H 354.6°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7E224F
RGBrgb(126, 34, 79)
HSLhsl(331, 58%, 31%)
HSVhsv(331, 73%, 49%)
CMYKcmyk(0%, 73%, 37.3%, 50.6%)
CIE-LABlab(29.78, 43.27, -4.93)
CIE-LCHlch(29.78, 43.55, 353.50°)
OKLaboklab(41.22% 0.1326 -0.0125)
OKLCHoklch(41.22% 0.133 354.6)
XYZxyz(10.5881, 6.1454, 8.0242)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E224F #227E51
analogous
#7E227D #7E224F #7E2322
triadic
#7E224F #4F7E22 #224F7E
tetradic
#7E224F #7D7E22 #227E51 #23227E
square
#7E224F #7D7E22 #227E51 #23227E
split-complementary
#7E224F #227E23 #227D7E
monochromatic
#1E0813 #4E1531 #7E224F #AE2F6D #CF4C8C

Accessibility & contrast

On white

9.42
#7E224F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E224F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E224F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E224F#FFFFFF#000000##FFFFFF
##7E224F1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B50
Deuteranopia (green-blind)
#4C4C4D
Tritanopia (blue-blind)
#881A35
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e224f;
/* rgb */ color: rgb(126, 34, 79);
/* oklch */ color: oklch(41.2% 0.133 354.6);
Tailwind
colors: {
  custom: {
    50: '#a76580',
    500: '#7e224f',
    950: '#000000',
  },
}
SCSS
$custom: #7e224f;
$custom-light: #a76580;
$custom-dark: #000000;
JSON
{
  "hex": "#7e224f",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 79
  },
  "hsl": {
    "h": 330.652,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41215,
    "c": 0.13313,
    "h": 354.6
  },
  "luminance": 0.06144
}

Semantic roles & 50–950 ramp

primary
#7E224F
secondary
#4BB17F
accent
#E19647
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E224F

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

Preview Lab → · Contrast checker → · Palette generator →

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