#7F205E#7F205E

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

Color values

HEX#7F205E
RGBrgb(127, 32, 94)
HSLhsl(321, 60%, 31%)
HSVhsv(321, 75%, 50%)
CMYKcmyk(0%, 74.8%, 26%, 50.2%)
CIE-LABlab(30.29, 46.26, -13.95)
CIE-LCHlch(30.29, 48.32, 343.21°)
OKLaboklab(41.82% 0.14 -0.0371)
OKLCHoklch(41.82% 0.145 345.2)
XYZxyz(11.2898, 6.3544, 11.2195)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F205E #207F41
analogous
#70207F #7F205E #7F202E
triadic
#7F205E #5E7F20 #205E7F
tetradic
#7F205E #7F7020 #207F41 #202E7F
square
#7F205E #7F7020 #207F41 #202E7F
split-complementary
#7F205E #2E7F20 #207F70
monochromatic
#1D0716 #4E143A #7F205E #B02C82 #D148A2

Accessibility & contrast

On white

9.25
#7F205E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F205E
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F205E#FFFFFF#000000##FFFFFF
##7F205E1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D60
Deuteranopia (green-blind)
#484D5C
Tritanopia (blue-blind)
#881E3C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f205e;
/* rgb */ color: rgb(127, 32, 94);
/* oklch */ color: oklch(41.8% 0.145 345.2);
Tailwind
colors: {
  custom: {
    50: '#a8658b',
    500: '#7f205e',
    950: '#000000',
  },
}
SCSS
$custom: #7f205e;
$custom-light: #a8658b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f205e",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 94
  },
  "hsl": {
    "h": 320.842,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41821,
    "c": 0.14482,
    "h": 345.2
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#7F205E
secondary
#49B26D
accent
#E37C45
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F205E

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

Preview Lab → · Contrast checker → · Palette generator →

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