#7D224E#7D224E

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

Color values

HEX#7D224E
RGBrgb(125, 34, 78)
HSLhsl(331, 57%, 31%)
HSVhsv(331, 73%, 49%)
CMYKcmyk(0%, 72.8%, 37.6%, 51%)
CIE-LABlab(29.55, 42.85, -4.62)
CIE-LCHlch(29.55, 43.10, 353.84°)
OKLaboklab(41% 0.1313 -0.0116)
OKLCHoklch(41% 0.132 354.9)
XYZxyz(10.4053, 6.0553, 7.8271)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D224E #227D51
analogous
#7D227B #7D224E #7D2322
triadic
#7D224E #4E7D22 #224E7D
tetradic
#7D224E #7B7D22 #227D51 #23227D
square
#7D224E #7B7D22 #227D51 #23227D
split-complementary
#7D224E #227D23 #227B7D
monochromatic
#1D0812 #4D1530 #7D224E #AD2F6C #CE4B8B

Accessibility & contrast

On white

9.50
#7D224E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7D224E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D224E
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D224E#FFFFFF#000000##FFFFFF
##7D224E1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323B4F
Deuteranopia (green-blind)
#4C4C4C
Tritanopia (blue-blind)
#871A35
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d224e;
/* rgb */ color: rgb(125, 34, 78);
/* oklch */ color: oklch(41.0% 0.132 354.9);
Tailwind
colors: {
  custom: {
    50: '#a7657f',
    500: '#7d224e',
    950: '#000000',
  },
}
SCSS
$custom: #7d224e;
$custom-light: #a7657f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d224e",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 78
  },
  "hsl": {
    "h": 330.989,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41002,
    "c": 0.13178,
    "h": 354.9
  },
  "luminance": 0.06054
}

Semantic roles & 50–950 ramp

primary
#7D224E
secondary
#4BB07F
accent
#E09647
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D224E

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

Preview Lab → · Contrast checker → · Palette generator →

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