#7C294E#7C294E

#7C294E is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.6% C 0.121 H 356.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7C294E
RGBrgb(124, 41, 78)
HSLhsl(333, 50%, 32%)
HSVhsv(333, 67%, 49%)
CMYKcmyk(0%, 66.9%, 37.1%, 51.4%)
CIE-LABlab(30.45, 39.54, -3.30)
CIE-LCHlch(30.45, 39.67, 355.22°)
OKLaboklab(41.63% 0.1208 -0.0082)
OKLCHoklch(41.63% 0.121 356.1)
XYZxyz(10.4809, 6.4222, 7.8939)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C294E #297C57
analogous
#7C2978 #7C294E #7C2E29
triadic
#7C294E #4E7C29 #294E7C
tetradic
#7C294E #787C29 #297C57 #2E297C
square
#7C294E #787C29 #297C57 #2E297C
split-complementary
#7C294E #297C2E #29787C
monochromatic
#200B14 #4E1A31 #7C294E #AA386B #C8588A

Accessibility & contrast

On white

9.19
#7C294E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7C294E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C294E
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C294E#FFFFFF#000000##FFFFFF
##7C294E1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E4F
Deuteranopia (green-blind)
#4E4D4C
Tritanopia (blue-blind)
#862238
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c294e;
/* rgb */ color: rgb(124, 41, 78);
/* oklch */ color: oklch(41.6% 0.121 356.1);
Tailwind
colors: {
  custom: {
    50: '#a5687f',
    500: '#7c294e',
    950: '#000000',
  },
}
SCSS
$custom: #7c294e;
$custom-light: #a5687f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c294e",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 78
  },
  "hsl": {
    "h": 333.253,
    "s": 50.303,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41633,
    "c": 0.1211,
    "h": 356.1
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#7C294E
secondary
#54AD85
accent
#DA9B4E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C294E

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

Preview Lab → · Contrast checker → · Palette generator →

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