#7F415F#7F415F

#7F415F is a mid, moderate pink. Relative luminance 0.091; OKLCH L 46.2% C 0.093 H 351.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7F415F
RGBrgb(127, 65, 95)
HSLhsl(331, 32%, 38%)
HSVhsv(331, 49%, 50%)
CMYKcmyk(0%, 48.8%, 25.2%, 50.2%)
CIE-LABlab(36.21, 30.61, -5.64)
CIE-LCHlch(36.21, 31.13, 349.56°)
OKLaboklab(46.23% 0.0921 -0.0146)
OKLCHoklch(46.23% 0.093 351)
XYZxyz(12.7086, 9.1199, 11.9152)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F415F #417F61
analogous
#7F417E #7F415F #7F4241
triadic
#7F415F #5F7F41 #415F7F
tetradic
#7F415F #7E7F41 #417F61 #42417F
square
#7F415F #7E7F41 #417F61 #42417F
split-complementary
#7F415F #417F42 #417E7F
monochromatic
#2E1822 #572C41 #7F415F #A7567D #BD7E9C

Accessibility & contrast

On white

7.44
#7F415F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7F415F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F415F
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F415F#FFFFFF#000000##FFFFFF
##7F415F1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484F60
Deuteranopia (green-blind)
#58595D
Tritanopia (blue-blind)
#873F4C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7f415f;
/* rgb */ color: rgb(127, 65, 95);
/* oklch */ color: oklch(46.2% 0.093 351.0);
Tailwind
colors: {
  custom: {
    50: '#a6778c',
    500: '#7f415f',
    950: '#000000',
  },
}
SCSS
$custom: #7f415f;
$custom-light: #a6778c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f415f",
  "rgb": {
    "r": 127,
    "g": 65,
    "b": 95
  },
  "hsl": {
    "h": 330.968,
    "s": 32.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46225,
    "c": 0.09322,
    "h": 351
  },
  "luminance": 0.09119
}

Semantic roles & 50–950 ramp

primary
#7F415F
secondary
#74A78F
accent
#C8965F
background
#FAF7F8
surface
#F4EDF0
border
#CEC8CB
text
#10090C
muted
#7F7B7D

Preview Lab

Preview with #7F415F

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

Preview Lab → · Contrast checker → · Palette generator →

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