#7E415B#7E415B

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

Color values

HEX#7E415B
RGBrgb(126, 65, 91)
HSLhsl(334, 32%, 37%)
HSVhsv(334, 48%, 49%)
CMYKcmyk(0%, 48.4%, 27.8%, 50.6%)
CIE-LABlab(35.93, 29.63, -3.54)
CIE-LCHlch(35.93, 29.84, 353.19°)
OKLaboklab(45.94% 0.0894 -0.009)
OKLCHoklch(45.94% 0.09 354.3)
XYZxyz(12.3832, 8.9726, 10.9752)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E415B #417E64
analogous
#7E417A #7E415B #7E4541
triadic
#7E415B #5B7E41 #415B7E
tetradic
#7E415B #7A7E41 #417E64 #45417E
square
#7E415B #7A7E41 #417E64 #45417E
split-complementary
#7E415B #417E45 #417A7E
monochromatic
#2D1721 #562C3E #7E415B #A65678 #BC7D98

Accessibility & contrast

On white

7.52
#7E415B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7E415B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E415B
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E415B#FFFFFF#000000##FFFFFF
##7E415B1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494E5C
Deuteranopia (green-blind)
#58595A
Tritanopia (blue-blind)
#863E4A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e415b;
/* rgb */ color: rgb(126, 65, 91);
/* oklch */ color: oklch(45.9% 0.090 354.3);
Tailwind
colors: {
  custom: {
    50: '#a57789',
    500: '#7e415b',
    950: '#000000',
  },
}
SCSS
$custom: #7e415b;
$custom-light: #a57789;
$custom-dark: #000000;
JSON
{
  "hex": "#7e415b",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 91
  },
  "hsl": {
    "h": 334.426,
    "s": 31.937,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45937,
    "c": 0.08989,
    "h": 354.3
  },
  "luminance": 0.08972
}

Semantic roles & 50–950 ramp

primary
#7E415B
secondary
#74A791
accent
#C89C60
background
#FAF7F8
surface
#F4EDF0
border
#CEC8CB
text
#0F090B
muted
#7F7B7C

Preview Lab

Preview with #7E415B

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

Preview Lab → · Contrast checker → · Palette generator →

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