#7F206E#7F206E

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

Color values

HEX#7F206E
RGBrgb(127, 32, 110)
HSLhsl(311, 60%, 31%)
HSVhsv(311, 75%, 50%)
CMYKcmyk(0%, 74.8%, 13.4%, 50.2%)
CIE-LABlab(31.05, 48.62, -23.09)
CIE-LCHlch(31.05, 53.82, 334.60°)
OKLaboklab(42.62% 0.1426 -0.0629)
OKLCHoklch(42.62% 0.156 336.2)
XYZxyz(12.0836, 6.6719, 15.4002)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F206E #207F31
analogous
#60207F #7F206E #7F203E
triadic
#7F206E #6E7F20 #206E7F
tetradic
#7F206E #7F6020 #207F31 #203E7F
square
#7F206E #7F6020 #207F31 #203E7F
split-complementary
#7F206E #3E7F20 #207F60
monochromatic
#1D0719 #4E1444 #7F206E #B02C98 #D148B9

Accessibility & contrast

On white

9.00
#7F206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7F206E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F206E
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F206E#FFFFFF#000000##FFFFFF
##7F206E1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214070
Deuteranopia (green-blind)
#424E6C
Tritanopia (blue-blind)
#862644
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f206e;
/* rgb */ color: rgb(127, 32, 110);
/* oklch */ color: oklch(42.6% 0.156 336.2);
Tailwind
colors: {
  custom: {
    50: '#a76598',
    500: '#7f206e',
    950: '#000000',
  },
}
SCSS
$custom: #7f206e;
$custom-light: #a76598;
$custom-dark: #000000;
JSON
{
  "hex": "#7f206e",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 310.737,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42619,
    "c": 0.15587,
    "h": 336.2
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#7F206E
secondary
#49B25C
accent
#E36145
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F206E

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

Preview Lab → · Contrast checker → · Palette generator →

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