#7F215F#7F215F

#7F215F is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.144 H 344.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7F215F
RGBrgb(127, 33, 95)
HSLhsl(320, 59%, 31%)
HSVhsv(320, 74%, 50%)
CMYKcmyk(0%, 74%, 25.2%, 50.2%)
CIE-LABlab(30.47, 46.03, -14.33)
CIE-LCHlch(30.47, 48.21, 342.70°)
OKLaboklab(41.96% 0.1391 -0.0382)
OKLCHoklch(41.96% 0.144 344.7)
XYZxyz(11.3623, 6.4272, 11.4664)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F215F #217F41
analogous
#70217F #7F215F #7F2130
triadic
#7F215F #5F7F21 #215F7F
tetradic
#7F215F #7F7021 #217F41 #21307F
square
#7F215F #7F7021 #217F41 #21307F
split-complementary
#7F215F #307F21 #217F70
monochromatic
#1E0816 #4E143B #7F215F #B02E83 #D04AA3

Accessibility & contrast

On white

9.19
#7F215F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7F215F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F215F
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F215F#FFFFFF#000000##FFFFFF
##7F215F1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3E61
Deuteranopia (green-blind)
#484D5D
Tritanopia (blue-blind)
#88203D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f215f;
/* rgb */ color: rgb(127, 33, 95);
/* oklch */ color: oklch(42.0% 0.144 344.7);
Tailwind
colors: {
  custom: {
    50: '#a8658c',
    500: '#7f215f',
    950: '#000000',
  },
}
SCSS
$custom: #7f215f;
$custom-light: #a8658c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f215f",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 320.426,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41964,
    "c": 0.1442,
    "h": 344.7
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#7F215F
secondary
#4AB26D
accent
#E27B46
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F215F

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

Preview Lab → · Contrast checker → · Palette generator →

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