#7E224E#7E224E

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

Color values

HEX#7E224E
RGBrgb(126, 34, 78)
HSLhsl(331, 58%, 31%)
HSVhsv(331, 73%, 49%)
CMYKcmyk(0%, 73%, 38.1%, 50.6%)
CIE-LABlab(29.74, 43.15, -4.32)
CIE-LCHlch(29.74, 43.37, 354.28°)
OKLaboklab(41.18% 0.1322 -0.0108)
OKLCHoklch(41.18% 0.133 355.3)
XYZxyz(10.5520, 6.1310, 7.8340)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E224E #227E52
analogous
#7E227C #7E224E #7E2422
triadic
#7E224E #4E7E22 #224E7E
tetradic
#7E224E #7C7E22 #227E52 #24227E
square
#7E224E #7C7E22 #227E52 #24227E
split-complementary
#7E224E #227E24 #227C7E
monochromatic
#1E0812 #4E1530 #7E224E #AE2F6C #CF4C8A

Accessibility & contrast

On white

9.43
#7E224E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E224E
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E224E#FFFFFF#000000##FFFFFF
##7E224E1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B4F
Deuteranopia (green-blind)
#4C4C4C
Tritanopia (blue-blind)
#881935
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e224e;
/* rgb */ color: rgb(126, 34, 78);
/* oklch */ color: oklch(41.2% 0.133 355.3);
Tailwind
colors: {
  custom: {
    50: '#a7657f',
    500: '#7e224e',
    950: '#000000',
  },
}
SCSS
$custom: #7e224e;
$custom-light: #a7657f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e224e",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 78
  },
  "hsl": {
    "h": 331.304,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41176,
    "c": 0.13267,
    "h": 355.3
  },
  "luminance": 0.0613
}

Semantic roles & 50–950 ramp

primary
#7E224E
secondary
#4BB180
accent
#E19747
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E224E

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

Preview Lab → · Contrast checker → · Palette generator →

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