#7C246C#7C246C

#7C246C is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.147 H 336.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#7C246C
RGBrgb(124, 36, 108)
HSLhsl(311, 55%, 31%)
HSVhsv(311, 71%, 49%)
CMYKcmyk(0%, 71%, 12.9%, 51.4%)
CIE-LABlab(30.95, 46.00, -22.00)
CIE-LCHlch(30.95, 50.99, 334.44°)
OKLaboklab(42.41% 0.1346 -0.0599)
OKLCHoklch(42.41% 0.147 336)
XYZxyz(11.6500, 6.6306, 14.8507)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C246C #247C34
analogous
#60247C #7C246C #7C2440
triadic
#7C246C #6C7C24 #246C7C
tetradic
#7C246C #7C6024 #247C34 #24407C
square
#7C246C #7C6024 #247C34 #24407C
split-complementary
#7C246C #407C24 #247C60
monochromatic
#1D0819 #4D1643 #7C246C #AB3295 #CC4FB5

Accessibility & contrast

On white

9.03
#7C246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7C246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C246C
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C246C#FFFFFF#000000##FFFFFF
##7C246C1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25406E
Deuteranopia (green-blind)
#424E6A
Tritanopia (blue-blind)
#822A45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7c246c;
/* rgb */ color: rgb(124, 36, 108);
/* oklch */ color: oklch(42.4% 0.147 336.0);
Tailwind
colors: {
  custom: {
    50: '#a56796',
    500: '#7c246c',
    950: '#000000',
  },
}
SCSS
$custom: #7c246c;
$custom-light: #a56796;
$custom-dark: #000000;
JSON
{
  "hex": "#7c246c",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 310.909,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42413,
    "c": 0.14736,
    "h": 336
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#7C246C
secondary
#4DAE5F
accent
#DE6549
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C246C

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

Preview Lab → · Contrast checker → · Palette generator →

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