#7C246B#7C246B

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

Color values

HEX#7C246B
RGBrgb(124, 36, 107)
HSLhsl(312, 55%, 31%)
HSVhsv(312, 71%, 49%)
CMYKcmyk(0%, 71%, 13.7%, 51.4%)
CIE-LABlab(30.90, 45.84, -21.44)
CIE-LCHlch(30.90, 50.60, 334.93°)
OKLaboklab(42.36% 0.1345 -0.0583)
OKLCHoklch(42.36% 0.147 336.6)
XYZxyz(11.5971, 6.6094, 14.5720)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C246B #247C35
analogous
#61247C #7C246B #7C243F
triadic
#7C246B #6B7C24 #246B7C
tetradic
#7C246B #7C6124 #247C35 #243F7C
square
#7C246B #7C6124 #247C35 #243F7C
split-complementary
#7C246B #3F7C24 #247C61
monochromatic
#1D0819 #4D1642 #7C246B #AB3294 #CC4FB4

Accessibility & contrast

On white

9.05
#7C246B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C246B
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C246B#FFFFFF#000000##FFFFFF
##7C246B1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26406D
Deuteranopia (green-blind)
#434E69
Tritanopia (blue-blind)
#832944
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7c246b;
/* rgb */ color: rgb(124, 36, 107);
/* oklch */ color: oklch(42.4% 0.147 336.6);
Tailwind
colors: {
  custom: {
    50: '#a56795',
    500: '#7c246b',
    950: '#000000',
  },
}
SCSS
$custom: #7c246b;
$custom-light: #a56795;
$custom-dark: #000000;
JSON
{
  "hex": "#7c246b",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 311.591,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4236,
    "c": 0.14659,
    "h": 336.6
  },
  "luminance": 0.06608
}

Semantic roles & 50–950 ramp

primary
#7C246B
secondary
#4DAE60
accent
#DE6649
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C246B

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

Preview Lab → · Contrast checker → · Palette generator →

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