#7F205B#7F205B

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

Color values

HEX#7F205B
RGBrgb(127, 32, 91)
HSLhsl(323, 60%, 31%)
HSVhsv(323, 75%, 50%)
CMYKcmyk(0%, 74.8%, 28.3%, 50.2%)
CIE-LABlab(30.16, 45.85, -12.20)
CIE-LCHlch(30.16, 47.45, 345.10°)
OKLaboklab(41.69% 0.1393 -0.0322)
OKLCHoklch(41.69% 0.143 347)
XYZxyz(11.1577, 6.3016, 10.5242)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F205B #207F44
analogous
#73207F #7F205B #7F202B
triadic
#7F205B #5B7F20 #205B7F
tetradic
#7F205B #7F7320 #207F44 #202B7F
square
#7F205B #7F7320 #207F44 #202B7F
split-complementary
#7F205B #2B7F20 #207F73
monochromatic
#1D0715 #4E1438 #7F205B #B02C7E #D1489D

Accessibility & contrast

On white

9.29
#7F205B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F205B
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F205B#FFFFFF#000000##FFFFFF
##7F205B1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3D5D
Deuteranopia (green-blind)
#494D59
Tritanopia (blue-blind)
#881D3A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f205b;
/* rgb */ color: rgb(127, 32, 91);
/* oklch */ color: oklch(41.7% 0.143 347.0);
Tailwind
colors: {
  custom: {
    50: '#a86589',
    500: '#7f205b',
    950: '#000000',
  },
}
SCSS
$custom: #7f205b;
$custom-light: #a86589;
$custom-dark: #000000;
JSON
{
  "hex": "#7f205b",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 91
  },
  "hsl": {
    "h": 322.737,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41685,
    "c": 0.14298,
    "h": 347
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#7F205B
secondary
#49B271
accent
#E38145
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F205B

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

Preview Lab → · Contrast checker → · Palette generator →

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