#7F206B#7F206B

#7F206B is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.154 H 337.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#7F206B
RGBrgb(127, 32, 107)
HSLhsl(313, 60%, 31%)
HSVhsv(313, 75%, 50%)
CMYKcmyk(0%, 74.8%, 15.7%, 50.2%)
CIE-LABlab(30.90, 48.15, -21.40)
CIE-LCHlch(30.90, 52.70, 336.04°)
OKLaboklab(42.46% 0.1423 -0.0581)
OKLCHoklch(42.46% 0.154 337.8)
XYZxyz(11.9230, 6.6077, 14.5545)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F206B #207F34
analogous
#63207F #7F206B #7F203B
triadic
#7F206B #6B7F20 #206B7F
tetradic
#7F206B #7F6320 #207F34 #203B7F
square
#7F206B #7F6320 #207F34 #203B7F
split-complementary
#7F206B #3B7F20 #207F63
monochromatic
#1D0719 #4E1442 #7F206B #B02C94 #D148B4

Accessibility & contrast

On white

9.05
#7F206B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7F206B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F206B
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F206B#FFFFFF#000000##FFFFFF
##7F206B1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243F6D
Deuteranopia (green-blind)
#434E69
Tritanopia (blue-blind)
#862543
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f206b;
/* rgb */ color: rgb(127, 32, 107);
/* oklch */ color: oklch(42.5% 0.154 337.8);
Tailwind
colors: {
  custom: {
    50: '#a76595',
    500: '#7f206b',
    950: '#000000',
  },
}
SCSS
$custom: #7f206b;
$custom-light: #a76595;
$custom-dark: #000000;
JSON
{
  "hex": "#7f206b",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 107
  },
  "hsl": {
    "h": 312.632,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4246,
    "c": 0.15367,
    "h": 337.8
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#7F206B
secondary
#49B25F
accent
#E36645
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F206B

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

Preview Lab → · Contrast checker → · Palette generator →

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