#7F215A#7F215A

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

Color values

HEX#7F215A
RGBrgb(127, 33, 90)
HSLhsl(324, 59%, 31%)
HSVhsv(324, 74%, 50%)
CMYKcmyk(0%, 74%, 29.1%, 50.2%)
CIE-LABlab(30.25, 45.34, -11.41)
CIE-LCHlch(30.25, 46.76, 345.88°)
OKLaboklab(41.74% 0.1379 -0.03)
OKLCHoklch(41.74% 0.141 347.7)
XYZxyz(11.1422, 6.3391, 10.3077)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F215A #217F46
analogous
#75217F #7F215A #7F212B
triadic
#7F215A #5A7F21 #215A7F
tetradic
#7F215A #7F7521 #217F46 #212B7F
square
#7F215A #7F7521 #217F46 #212B7F
split-complementary
#7F215A #2B7F21 #217F75
monochromatic
#1E0815 #4E1438 #7F215A #B02E7C #D04A9B

Accessibility & contrast

On white

9.26
#7F215A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F215A
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F215A#FFFFFF#000000##FFFFFF
##7F215A1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3D5C
Deuteranopia (green-blind)
#4A4D58
Tritanopia (blue-blind)
#881D3A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f215a;
/* rgb */ color: rgb(127, 33, 90);
/* oklch */ color: oklch(41.7% 0.141 347.7);
Tailwind
colors: {
  custom: {
    50: '#a86588',
    500: '#7f215a',
    950: '#000000',
  },
}
SCSS
$custom: #7f215a;
$custom-light: #a86588;
$custom-dark: #000000;
JSON
{
  "hex": "#7f215a",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 90
  },
  "hsl": {
    "h": 323.617,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41738,
    "c": 0.14112,
    "h": 347.7
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#7F215A
secondary
#4AB273
accent
#E28346
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F215A

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

Preview Lab → · Contrast checker → · Palette generator →

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