#7F206D#7F206D

#7F206D is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.6% C 0.155 H 336.7°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#7F206D
RGBrgb(127, 32, 109)
HSLhsl(311, 60%, 31%)
HSVhsv(311, 75%, 50%)
CMYKcmyk(0%, 74.8%, 14.2%, 50.2%)
CIE-LABlab(31.00, 48.46, -22.53)
CIE-LCHlch(31.00, 53.44, 335.07°)
OKLaboklab(42.57% 0.1425 -0.0613)
OKLCHoklch(42.57% 0.155 336.7)
XYZxyz(12.0294, 6.6503, 15.1151)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F206D #207F32
analogous
#61207F #7F206D #7F203D
triadic
#7F206D #6D7F20 #206D7F
tetradic
#7F206D #7F6120 #207F32 #203D7F
square
#7F206D #7F6120 #207F32 #203D7F
split-complementary
#7F206D #3D7F20 #207F61
monochromatic
#1D0719 #4E1443 #7F206D #B02C97 #D148B7

Accessibility & contrast

On white

9.01
#7F206D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F206D
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F206D#FFFFFF#000000##FFFFFF
##7F206D1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22406F
Deuteranopia (green-blind)
#434E6B
Tritanopia (blue-blind)
#862644
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f206d;
/* rgb */ color: rgb(127, 32, 109);
/* oklch */ color: oklch(42.6% 0.155 336.7);
Tailwind
colors: {
  custom: {
    50: '#a76597',
    500: '#7f206d',
    950: '#000000',
  },
}
SCSS
$custom: #7f206d;
$custom-light: #a76597;
$custom-dark: #000000;
JSON
{
  "hex": "#7f206d",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 109
  },
  "hsl": {
    "h": 311.368,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42565,
    "c": 0.15513,
    "h": 336.7
  },
  "luminance": 0.06649
}

Semantic roles & 50–950 ramp

primary
#7F206D
secondary
#49B25D
accent
#E36345
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F206D

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

Preview Lab → · Contrast checker → · Palette generator →

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