#7F214E#7F214E

#7F214E is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.135 H 355.5°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7F214E
RGBrgb(127, 33, 78)
HSLhsl(331, 59%, 31%)
HSVhsv(331, 74%, 50%)
CMYKcmyk(0%, 74%, 38.6%, 50.2%)
CIE-LABlab(29.79, 43.84, -4.23)
CIE-LCHlch(29.79, 44.05, 354.49°)
OKLaboklab(41.25% 0.1344 -0.0106)
OKLCHoklch(41.25% 0.135 355.5)
XYZxyz(10.6721, 6.1511, 7.8315)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F214E #217F52
analogous
#7F217D #7F214E #7F2321
triadic
#7F214E #4E7F21 #214E7F
tetradic
#7F214E #7D7F21 #217F52 #23217F
square
#7F214E #7D7F21 #217F52 #23217F
split-complementary
#7F214E #217F23 #217D7F
monochromatic
#1E0812 #4E1430 #7F214E #B02E6C #D04A8A

Accessibility & contrast

On white

9.42
#7F214E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7F214E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F214E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F214E#FFFFFF#000000##FFFFFF
##7F214E1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B4F
Deuteranopia (green-blind)
#4D4D4C
Tritanopia (blue-blind)
#891734
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f214e;
/* rgb */ color: rgb(127, 33, 78);
/* oklch */ color: oklch(41.2% 0.135 355.5);
Tailwind
colors: {
  custom: {
    50: '#a8657f',
    500: '#7f214e',
    950: '#000000',
  },
}
SCSS
$custom: #7f214e;
$custom-light: #a8657f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f214e",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 78
  },
  "hsl": {
    "h": 331.277,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41248,
    "c": 0.13485,
    "h": 355.5
  },
  "luminance": 0.0615
}

Semantic roles & 50–950 ramp

primary
#7F214E
secondary
#4AB280
accent
#E29746
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F214E

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

Preview Lab → · Contrast checker → · Palette generator →

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