#7F246D#7F246D

#7F246D is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.150 H 336.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7F246D
RGBrgb(127, 36, 109)
HSLhsl(312, 56%, 32%)
HSVhsv(312, 72%, 50%)
CMYKcmyk(0%, 71.7%, 14.2%, 50.2%)
CIE-LABlab(31.53, 46.96, -21.70)
CIE-LCHlch(31.53, 51.73, 335.20°)
OKLaboklab(42.95% 0.138 -0.059)
OKLCHoklch(42.95% 0.15 336.9)
XYZxyz(12.1438, 6.8790, 15.1532)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F246D #247F36
analogous
#64247F #7F246D #7F2440
triadic
#7F246D #6D7F24 #246D7F
tetradic
#7F246D #7F6424 #247F36 #24407F
square
#7F246D #7F6424 #247F36 #24407F
split-complementary
#7F246D #407F24 #247F64
monochromatic
#20091B #4F1644 #7F246D #AF3296 #CD50B5

Accessibility & contrast

On white

8.84
#7F246D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F246D
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F246D#FFFFFF#000000##FFFFFF
##7F246D1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26416F
Deuteranopia (green-blind)
#444F6B
Tritanopia (blue-blind)
#862945
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f246d;
/* rgb */ color: rgb(127, 36, 109);
/* oklch */ color: oklch(43.0% 0.150 336.9);
Tailwind
colors: {
  custom: {
    50: '#a76797',
    500: '#7f246d',
    950: '#000000',
  },
}
SCSS
$custom: #7f246d;
$custom-light: #a76797;
$custom-dark: #000000;
JSON
{
  "hex": "#7f246d",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 311.868,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42951,
    "c": 0.1501,
    "h": 336.9
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

primary
#7F246D
secondary
#4EB161
accent
#DF6649
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F246D

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

Preview Lab → · Contrast checker → · Palette generator →

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