#7F205C#7F205C

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

Color values

HEX#7F205C
RGBrgb(127, 32, 92)
HSLhsl(322, 60%, 31%)
HSVhsv(322, 75%, 50%)
CMYKcmyk(0%, 74.8%, 27.6%, 50.2%)
CIE-LABlab(30.20, 45.99, -12.78)
CIE-LCHlch(30.20, 47.73, 344.46°)
OKLaboklab(41.73% 0.1395 -0.0338)
OKLCHoklch(41.73% 0.144 346.4)
XYZxyz(11.2012, 6.3190, 10.7529)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F205C #207F43
analogous
#72207F #7F205C #7F202C
triadic
#7F205C #5C7F20 #205C7F
tetradic
#7F205C #7F7220 #207F43 #202C7F
square
#7F205C #7F7220 #207F43 #202C7F
split-complementary
#7F205C #2C7F20 #207F72
monochromatic
#1D0715 #4E1439 #7F205C #B02C7F #D1489F

Accessibility & contrast

On white

9.28
#7F205C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7F205C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F205C
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F205C#FFFFFF#000000##FFFFFF
##7F205C1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3D5E
Deuteranopia (green-blind)
#494D5A
Tritanopia (blue-blind)
#881D3B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f205c;
/* rgb */ color: rgb(127, 32, 92);
/* oklch */ color: oklch(41.7% 0.144 346.4);
Tailwind
colors: {
  custom: {
    50: '#a8658a',
    500: '#7f205c',
    950: '#000000',
  },
}
SCSS
$custom: #7f205c;
$custom-light: #a8658a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f205c",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 92
  },
  "hsl": {
    "h": 322.105,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4173,
    "c": 0.14358,
    "h": 346.4
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#7F205C
secondary
#49B270
accent
#E37F45
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F205C

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

Preview Lab → · Contrast checker → · Palette generator →

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