#7F205A#7F205A

#7F205A is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.142 H 347.6°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#7F205A
RGBrgb(127, 32, 90)
HSLhsl(323, 60%, 31%)
HSVhsv(323, 75%, 50%)
CMYKcmyk(0%, 74.8%, 29.1%, 50.2%)
CIE-LABlab(30.12, 45.72, -11.61)
CIE-LCHlch(30.12, 47.17, 345.75°)
OKLaboklab(41.64% 0.1391 -0.0306)
OKLCHoklch(41.64% 0.142 347.6)
XYZxyz(11.1149, 6.2845, 10.2986)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F205A #207F45
analogous
#74207F #7F205A #7F202B
triadic
#7F205A #5A7F20 #205A7F
tetradic
#7F205A #7F7420 #207F45 #202B7F
square
#7F205A #7F7420 #207F45 #202B7F
split-complementary
#7F205A #2B7F20 #207F74
monochromatic
#1D0715 #4E1437 #7F205A #B02C7D #D1489C

Accessibility & contrast

On white

9.31
#7F205A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F205A
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F205A#FFFFFF#000000##FFFFFF
##7F205A1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3C5C
Deuteranopia (green-blind)
#494D58
Tritanopia (blue-blind)
#881C3A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f205a;
/* rgb */ color: rgb(127, 32, 90);
/* oklch */ color: oklch(41.6% 0.142 347.6);
Tailwind
colors: {
  custom: {
    50: '#a86588',
    500: '#7f205a',
    950: '#000000',
  },
}
SCSS
$custom: #7f205a;
$custom-light: #a86588;
$custom-dark: #000000;
JSON
{
  "hex": "#7f205a",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 90
  },
  "hsl": {
    "h": 323.368,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41641,
    "c": 0.14238,
    "h": 347.6
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#7F205A
secondary
#49B272
accent
#E38245
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F205A

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

Preview Lab → · Contrast checker → · Palette generator →

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