#7C246A#7C246A

#7C246A is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.146 H 337.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#7C246A
RGBrgb(124, 36, 106)
HSLhsl(312, 55%, 31%)
HSVhsv(312, 71%, 49%)
CMYKcmyk(0%, 71%, 14.5%, 51.4%)
CIE-LABlab(30.85, 45.68, -20.88)
CIE-LCHlch(30.85, 50.22, 335.44°)
OKLaboklab(42.31% 0.1344 -0.0567)
OKLCHoklch(42.31% 0.146 337.1)
XYZxyz(11.5448, 6.5885, 14.2966)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C246A #247C36
analogous
#62247C #7C246A #7C243E
triadic
#7C246A #6A7C24 #246A7C
tetradic
#7C246A #7C6224 #247C36 #243E7C
square
#7C246A #7C6224 #247C36 #243E7C
split-complementary
#7C246A #3E7C24 #247C62
monochromatic
#1D0819 #4D1641 #7C246A #AB3293 #CC4FB2

Accessibility & contrast

On white

9.06
#7C246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7C246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C246A
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C246A#FFFFFF#000000##FFFFFF
##7C246A1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26406C
Deuteranopia (green-blind)
#434D68
Tritanopia (blue-blind)
#832943
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7c246a;
/* rgb */ color: rgb(124, 36, 106);
/* oklch */ color: oklch(42.3% 0.146 337.1);
Tailwind
colors: {
  custom: {
    50: '#a56795',
    500: '#7c246a',
    950: '#000000',
  },
}
SCSS
$custom: #7c246a;
$custom-light: #a56795;
$custom-dark: #000000;
JSON
{
  "hex": "#7c246a",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 312.273,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42308,
    "c": 0.14583,
    "h": 337.1
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

primary
#7C246A
secondary
#4DAE61
accent
#DE6849
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C246A

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

Preview Lab → · Contrast checker → · Palette generator →

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