#7F206F#7F206F

#7F206F is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.157 H 335.7°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#7F206F
RGBrgb(127, 32, 111)
HSLhsl(310, 60%, 31%)
HSVhsv(310, 75%, 50%)
CMYKcmyk(0%, 74.8%, 12.6%, 50.2%)
CIE-LABlab(31.10, 48.78, -23.64)
CIE-LCHlch(31.10, 54.21, 334.14°)
OKLaboklab(42.67% 0.1427 -0.0645)
OKLCHoklch(42.67% 0.157 335.7)
XYZxyz(12.1383, 6.6938, 15.6886)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F206F #207F30
analogous
#5F207F #7F206F #7F203F
triadic
#7F206F #6F7F20 #206F7F
tetradic
#7F206F #7F5F20 #207F30 #203F7F
square
#7F206F #7F5F20 #207F30 #203F7F
split-complementary
#7F206F #3F7F20 #207F5F
monochromatic
#1D071A #4E1444 #7F206F #B02C9A #D148BA

Accessibility & contrast

On white

8.98
#7F206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7F206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F206F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F206F#FFFFFF#000000##FFFFFF
##7F206F1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214071
Deuteranopia (green-blind)
#424E6D
Tritanopia (blue-blind)
#862745
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f206f;
/* rgb */ color: rgb(127, 32, 111);
/* oklch */ color: oklch(42.7% 0.157 335.7);
Tailwind
colors: {
  custom: {
    50: '#a76698',
    500: '#7f206f',
    950: '#000000',
  },
}
SCSS
$custom: #7f206f;
$custom-light: #a76698;
$custom-dark: #000000;
JSON
{
  "hex": "#7f206f",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 310.105,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42673,
    "c": 0.15663,
    "h": 335.7
  },
  "luminance": 0.06693
}

Semantic roles & 50–950 ramp

primary
#7F206F
secondary
#49B25B
accent
#E36045
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F206F

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

Preview Lab → · Contrast checker → · Palette generator →

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