#7C295F#7C295F

#7C295F is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.3% C 0.131 H 344.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#7C295F
RGBrgb(124, 41, 95)
HSLhsl(321, 50%, 32%)
HSVhsv(321, 67%, 49%)
CMYKcmyk(0%, 66.9%, 23.4%, 51.4%)
CIE-LABlab(31.11, 41.86, -13.39)
CIE-LCHlch(31.11, 43.95, 342.26°)
OKLaboklab(42.33% 0.1258 -0.0356)
OKLCHoklch(42.33% 0.131 344.2)
XYZxyz(11.1710, 6.6983, 11.5288)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C295F #297C46
analogous
#70297C #7C295F #7C2935
triadic
#7C295F #5F7C29 #295F7C
tetradic
#7C295F #7C7029 #297C46 #29357C
square
#7C295F #7C7029 #297C46 #29357C
split-complementary
#7C295F #357C29 #297C70
monochromatic
#200B19 #4E1A3C #7C295F #AA3882 #C858A1

Accessibility & contrast

On white

8.98
#7C295F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7C295F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C295F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C295F#FFFFFF#000000##FFFFFF
##7C295F1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314061
Deuteranopia (green-blind)
#494E5D
Tritanopia (blue-blind)
#842940
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7c295f;
/* rgb */ color: rgb(124, 41, 95);
/* oklch */ color: oklch(42.3% 0.131 344.2);
Tailwind
colors: {
  custom: {
    50: '#a5698c',
    500: '#7c295f',
    950: '#000000',
  },
}
SCSS
$custom: #7c295f;
$custom-light: #a5698c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c295f",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 95
  },
  "hsl": {
    "h": 320.964,
    "s": 50.303,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42332,
    "c": 0.13077,
    "h": 344.2
  },
  "luminance": 0.06697
}

Semantic roles & 50–950 ramp

primary
#7C295F
secondary
#54AD73
accent
#DA7F4E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7C295F

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

Preview Lab → · Contrast checker → · Palette generator →

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