#7D246E#7D246E

#7D246E is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.150 H 335.4°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#7D246E
RGBrgb(125, 36, 110)
HSLhsl(310, 55%, 32%)
HSVhsv(310, 71%, 49%)
CMYKcmyk(0%, 71.2%, 12%, 51%)
CIE-LABlab(31.23, 46.59, -22.83)
CIE-LCHlch(31.23, 51.88, 333.89°)
OKLaboklab(42.68% 0.136 -0.0622)
OKLCHoklch(42.68% 0.15 335.4)
XYZxyz(11.9029, 6.7485, 15.4245)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D246E #247D33
analogous
#60247D #7D246E #7D2442
triadic
#7D246E #6E7D24 #246E7D
tetradic
#7D246E #7D6024 #247D33 #24427D
square
#7D246E #7D6024 #247D33 #24427D
split-complementary
#7D246E #427D24 #247D60
monochromatic
#1E091A #4D1644 #7D246E #AD3298 #CC4FB7

Accessibility & contrast

On white

8.94
#7D246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7D246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D246E
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D246E#FFFFFF#000000##FFFFFF
##7D246E1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244170
Deuteranopia (green-blind)
#424E6C
Tritanopia (blue-blind)
#832A46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d246e;
/* rgb */ color: rgb(125, 36, 110);
/* oklch */ color: oklch(42.7% 0.150 335.4);
Tailwind
colors: {
  custom: {
    50: '#a66798',
    500: '#7d246e',
    950: '#000000',
  },
}
SCSS
$custom: #7d246e;
$custom-light: #a66798;
$custom-dark: #000000;
JSON
{
  "hex": "#7d246e",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 310.112,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4268,
    "c": 0.14955,
    "h": 335.4
  },
  "luminance": 0.06748
}

Semantic roles & 50–950 ramp

primary
#7D246E
secondary
#4DAF5E
accent
#DF6249
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D246E

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

Preview Lab → · Contrast checker → · Palette generator →

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