#7E415C#7E415C

#7E415C is a mid, moderate pink. Relative luminance 0.090; OKLCH L 46.0% C 0.090 H 353.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7E415C
RGBrgb(126, 65, 92)
HSLhsl(333, 32%, 37%)
HSVhsv(333, 48%, 49%)
CMYKcmyk(0%, 48.4%, 27%, 50.6%)
CIE-LABlab(35.96, 29.78, -4.13)
CIE-LCHlch(35.96, 30.07, 352.11°)
OKLaboklab(45.97% 0.0898 -0.0105)
OKLCHoklch(45.97% 0.09 353.3)
XYZxyz(12.4266, 8.9899, 11.2039)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E415C #417E63
analogous
#7E417A #7E415C #7E4541
triadic
#7E415C #5C7E41 #415C7E
tetradic
#7E415C #7A7E41 #417E63 #45417E
square
#7E415C #7A7E41 #417E63 #45417E
split-complementary
#7E415C #417E45 #417A7E
monochromatic
#2D1721 #562C3F #7E415C #A65679 #BC7D99

Accessibility & contrast

On white

7.51
#7E415C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7E415C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E415C
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E415C#FFFFFF#000000##FFFFFF
##7E415C1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484E5D
Deuteranopia (green-blind)
#58595B
Tritanopia (blue-blind)
#863E4B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7e415c;
/* rgb */ color: rgb(126, 65, 92);
/* oklch */ color: oklch(46.0% 0.090 353.3);
Tailwind
colors: {
  custom: {
    50: '#a5778a',
    500: '#7e415c',
    950: '#000000',
  },
}
SCSS
$custom: #7e415c;
$custom-light: #a5778a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e415c",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 92
  },
  "hsl": {
    "h": 333.443,
    "s": 31.937,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45973,
    "c": 0.09043,
    "h": 353.3
  },
  "luminance": 0.08989
}

Semantic roles & 50–950 ramp

primary
#7E415C
secondary
#74A790
accent
#C89A60
background
#FAF7F8
surface
#F4EDF0
border
#CEC8CB
text
#0F090B
muted
#7F7B7C

Preview Lab

Preview with #7E415C

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

Preview Lab → · Contrast checker → · Palette generator →

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