#7F246A#7F246A

#7F246A is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.148 H 338.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#7F246A
RGBrgb(127, 36, 106)
HSLhsl(314, 56%, 32%)
HSVhsv(314, 72%, 50%)
CMYKcmyk(0%, 71.7%, 16.5%, 50.2%)
CIE-LABlab(31.38, 46.49, -20.01)
CIE-LCHlch(31.38, 50.61, 336.72°)
OKLaboklab(42.8% 0.1376 -0.0542)
OKLCHoklch(42.8% 0.148 338.5)
XYZxyz(11.9850, 6.8155, 14.3172)
Luminance0.0681 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F246A #247F39
analogous
#67247F #7F246A #7F243D
triadic
#7F246A #6A7F24 #246A7F
tetradic
#7F246A #7F6724 #247F39 #243D7F
square
#7F246A #7F6724 #247F39 #243D7F
split-complementary
#7F246A #3D7F24 #247F67
monochromatic
#20091A #4F1642 #7F246A #AF3292 #CD50B0

Accessibility & contrast

On white

8.89
#7F246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7F246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F246A
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F246A#FFFFFF#000000##FFFFFF
##7F246A1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28416C
Deuteranopia (green-blind)
#454F68
Tritanopia (blue-blind)
#862844
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f246a;
/* rgb */ color: rgb(127, 36, 106);
/* oklch */ color: oklch(42.8% 0.148 338.5);
Tailwind
colors: {
  custom: {
    50: '#a76795',
    500: '#7f246a',
    950: '#000000',
  },
}
SCSS
$custom: #7f246a;
$custom-light: #a76795;
$custom-dark: #000000;
JSON
{
  "hex": "#7f246a",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 313.846,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42797,
    "c": 0.14787,
    "h": 338.5
  },
  "luminance": 0.06814
}

Semantic roles & 50–950 ramp

primary
#7F246A
secondary
#4EB165
accent
#DF6B49
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F246A

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

Preview Lab → · Contrast checker → · Palette generator →

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