#7D246D#7D246D

#7D246D is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.149 H 335.9°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#7D246D
RGBrgb(125, 36, 109)
HSLhsl(311, 55%, 32%)
HSVhsv(311, 71%, 49%)
CMYKcmyk(0%, 71.2%, 12.8%, 51%)
CIE-LABlab(31.18, 46.43, -22.27)
CIE-LCHlch(31.18, 51.49, 334.37°)
OKLaboklab(42.63% 0.1359 -0.0606)
OKLCHoklch(42.63% 0.149 335.9)
XYZxyz(11.8488, 6.7269, 15.1394)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D246D #247D34
analogous
#61247D #7D246D #7D2440
triadic
#7D246D #6D7D24 #246D7D
tetradic
#7D246D #7D6124 #247D34 #24407D
square
#7D246D #7D6124 #247D34 #24407D
split-complementary
#7D246D #407D24 #247D61
monochromatic
#1E091A #4D1644 #7D246D #AD3296 #CC4FB6

Accessibility & contrast

On white

8.95
#7D246D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D246D
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D246D#FFFFFF#000000##FFFFFF
##7D246D1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25416F
Deuteranopia (green-blind)
#434E6B
Tritanopia (blue-blind)
#832A45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d246d;
/* rgb */ color: rgb(125, 36, 109);
/* oklch */ color: oklch(42.6% 0.149 335.9);
Tailwind
colors: {
  custom: {
    50: '#a66797',
    500: '#7d246d',
    950: '#000000',
  },
}
SCSS
$custom: #7d246d;
$custom-light: #a66797;
$custom-dark: #000000;
JSON
{
  "hex": "#7d246d",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 310.787,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42627,
    "c": 0.14878,
    "h": 335.9
  },
  "luminance": 0.06726
}

Semantic roles & 50–950 ramp

primary
#7D246D
secondary
#4DAF5F
accent
#DF6449
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D246D

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

Preview Lab → · Contrast checker → · Palette generator →

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