#7F205F#7F205F

#7F205F is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.145 H 344.6°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#7F205F
RGBrgb(127, 32, 95)
HSLhsl(320, 60%, 31%)
HSVhsv(320, 75%, 50%)
CMYKcmyk(0%, 74.8%, 25.2%, 50.2%)
CIE-LABlab(30.33, 46.40, -14.54)
CIE-LCHlch(30.33, 48.62, 342.60°)
OKLaboklab(41.87% 0.1402 -0.0387)
OKLCHoklch(41.87% 0.145 344.6)
XYZxyz(11.3349, 6.3725, 11.4573)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F205F #207F40
analogous
#6F207F #7F205F #7F202F
triadic
#7F205F #5F7F20 #205F7F
tetradic
#7F205F #7F6F20 #207F40 #202F7F
square
#7F205F #7F6F20 #207F40 #202F7F
split-complementary
#7F205F #2F7F20 #207F6F
monochromatic
#1D0716 #4E143A #7F205F #B02C84 #D148A3

Accessibility & contrast

On white

9.23
#7F205F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F205F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F205F#FFFFFF#000000##FFFFFF
##7F205F1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D61
Deuteranopia (green-blind)
#484D5D
Tritanopia (blue-blind)
#881F3C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f205f;
/* rgb */ color: rgb(127, 32, 95);
/* oklch */ color: oklch(41.9% 0.145 344.6);
Tailwind
colors: {
  custom: {
    50: '#a8658c',
    500: '#7f205f',
    950: '#000000',
  },
}
SCSS
$custom: #7f205f;
$custom-light: #a8658c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f205f",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 95
  },
  "hsl": {
    "h": 320.211,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41867,
    "c": 0.14545,
    "h": 344.6
  },
  "luminance": 0.06371
}

Semantic roles & 50–950 ramp

primary
#7F205F
secondary
#49B26C
accent
#E37A45
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F205F

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

Preview Lab → · Contrast checker → · Palette generator →

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