#7F205D#7F205D

#7F205D is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.144 H 345.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#7F205D
RGBrgb(127, 32, 93)
HSLhsl(321, 60%, 31%)
HSVhsv(321, 75%, 50%)
CMYKcmyk(0%, 74.8%, 26.8%, 50.2%)
CIE-LABlab(30.25, 46.12, -13.37)
CIE-LCHlch(30.25, 48.02, 343.83°)
OKLaboklab(41.78% 0.1398 -0.0355)
OKLCHoklch(41.78% 0.144 345.8)
XYZxyz(11.2452, 6.3366, 10.9847)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F205D #207F42
analogous
#71207F #7F205D #7F202D
triadic
#7F205D #5D7F20 #205D7F
tetradic
#7F205D #7F7120 #207F42 #202D7F
square
#7F205D #7F7120 #207F42 #202D7F
split-complementary
#7F205D #2D7F20 #207F71
monochromatic
#1D0715 #4E1439 #7F205D #B02C81 #D148A0

Accessibility & contrast

On white

9.26
#7F205D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7F205D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F205D
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F205D#FFFFFF#000000##FFFFFF
##7F205D1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3D5F
Deuteranopia (green-blind)
#484D5B
Tritanopia (blue-blind)
#881E3B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f205d;
/* rgb */ color: rgb(127, 32, 93);
/* oklch */ color: oklch(41.8% 0.144 345.8);
Tailwind
colors: {
  custom: {
    50: '#a8658b',
    500: '#7f205d',
    950: '#000000',
  },
}
SCSS
$custom: #7f205d;
$custom-light: #a8658b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f205d",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 93
  },
  "hsl": {
    "h": 321.474,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41775,
    "c": 0.14419,
    "h": 345.8
  },
  "luminance": 0.06335
}

Semantic roles & 50–950 ramp

primary
#7F205D
secondary
#49B26E
accent
#E37D45
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F205D

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

Preview Lab → · Contrast checker → · Palette generator →

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