#7F246F#7F246F

#7F246F is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.152 H 335.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#7F246F
RGBrgb(127, 36, 111)
HSLhsl(311, 56%, 32%)
HSVhsv(311, 72%, 50%)
CMYKcmyk(0%, 71.7%, 12.6%, 50.2%)
CIE-LABlab(31.63, 47.28, -22.82)
CIE-LCHlch(31.63, 52.50, 334.24°)
OKLaboklab(43.06% 0.1383 -0.0622)
OKLCHoklch(43.06% 0.152 335.8)
XYZxyz(12.2527, 6.9225, 15.7267)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F246F #247F34
analogous
#61247F #7F246F #7F2442
triadic
#7F246F #6F7F24 #246F7F
tetradic
#7F246F #7F6124 #247F34 #24427F
square
#7F246F #7F6124 #247F34 #24427F
split-complementary
#7F246F #427F24 #247F61
monochromatic
#20091C #4F1645 #7F246F #AF3299 #CD50B7

Accessibility & contrast

On white

8.81
#7F246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7F246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F246F
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F246F#FFFFFF#000000##FFFFFF
##7F246F1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254271
Deuteranopia (green-blind)
#434F6D
Tritanopia (blue-blind)
#862A46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f246f;
/* rgb */ color: rgb(127, 36, 111);
/* oklch */ color: oklch(43.1% 0.152 335.8);
Tailwind
colors: {
  custom: {
    50: '#a76798',
    500: '#7f246f',
    950: '#000000',
  },
}
SCSS
$custom: #7f246f;
$custom-light: #a76798;
$custom-dark: #000000;
JSON
{
  "hex": "#7f246f",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 310.549,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43056,
    "c": 0.15162,
    "h": 335.8
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

primary
#7F246F
secondary
#4EB15F
accent
#DF6349
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F246F

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

Preview Lab → · Contrast checker → · Palette generator →

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