#7C246D#7C246D

#7C246D is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.148 H 335.5°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#7C246D
RGBrgb(124, 36, 109)
HSLhsl(310, 55%, 31%)
HSVhsv(310, 71%, 49%)
CMYKcmyk(0%, 71%, 12.1%, 51.4%)
CIE-LABlab(31.00, 46.16, -22.56)
CIE-LCHlch(31.00, 51.38, 333.95°)
OKLaboklab(42.47% 0.1348 -0.0615)
OKLCHoklch(42.47% 0.148 335.5)
XYZxyz(11.7035, 6.6520, 15.1326)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C246D #247C33
analogous
#5F247C #7C246D #7C2441
triadic
#7C246D #6D7C24 #246D7C
tetradic
#7C246D #7C5F24 #247C33 #24417C
square
#7C246D #7C5F24 #247C33 #24417C
split-complementary
#7C246D #417C24 #247C5F
monochromatic
#1D081A #4D1643 #7C246D #AB3297 #CC4FB6

Accessibility & contrast

On white

9.01
#7C246D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C246D
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C246D#FFFFFF#000000##FFFFFF
##7C246D1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24416F
Deuteranopia (green-blind)
#424E6B
Tritanopia (blue-blind)
#822A45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7c246d;
/* rgb */ color: rgb(124, 36, 109);
/* oklch */ color: oklch(42.5% 0.148 335.5);
Tailwind
colors: {
  custom: {
    50: '#a56797',
    500: '#7c246d',
    950: '#000000',
  },
}
SCSS
$custom: #7c246d;
$custom-light: #a56797;
$custom-dark: #000000;
JSON
{
  "hex": "#7c246d",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 310.227,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42466,
    "c": 0.14813,
    "h": 335.5
  },
  "luminance": 0.06651
}

Semantic roles & 50–950 ramp

primary
#7C246D
secondary
#4DAE5E
accent
#DE6349
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C246D

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

Preview Lab → · Contrast checker → · Palette generator →

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