#7C224E#7C224E

#7C224E is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.8% C 0.131 H 354.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#7C224E
RGBrgb(124, 34, 78)
HSLhsl(331, 57%, 31%)
HSVhsv(331, 73%, 49%)
CMYKcmyk(0%, 72.6%, 37.1%, 51.4%)
CIE-LABlab(29.36, 42.54, -4.92)
CIE-LCHlch(29.36, 42.82, 353.40°)
OKLaboklab(40.83% 0.1303 -0.0125)
OKLCHoklch(40.83% 0.131 354.5)
XYZxyz(10.2600, 5.9804, 7.8203)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C224E #227C50
analogous
#7C227B #7C224E #7C2322
triadic
#7C224E #4E7C22 #224E7C
tetradic
#7C224E #7B7C22 #227C50 #23227C
square
#7C224E #7B7C22 #227C50 #23227C
split-complementary
#7C224E #227C23 #227B7C
monochromatic
#1C0812 #4C1530 #7C224E #AC2F6C #CE4B8B

Accessibility & contrast

On white

9.56
#7C224E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7C224E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C224E
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C224E#FFFFFF#000000##FFFFFF
##7C224E1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323B4F
Deuteranopia (green-blind)
#4B4B4C
Tritanopia (blue-blind)
#861A35
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c224e;
/* rgb */ color: rgb(124, 34, 78);
/* oklch */ color: oklch(40.8% 0.131 354.5);
Tailwind
colors: {
  custom: {
    50: '#a6657f',
    500: '#7c224e',
    950: '#000000',
  },
}
SCSS
$custom: #7c224e;
$custom-light: #a6657f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c224e",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 78
  },
  "hsl": {
    "h": 330.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40828,
    "c": 0.13087,
    "h": 354.5
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#7C224E
secondary
#4BAF7E
accent
#E09648
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C224E

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

Preview Lab → · Contrast checker → · Palette generator →

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