#7E2465#7E2465

#7E2465 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.144 H 340.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#7E2465
RGBrgb(126, 36, 101)
HSLhsl(317, 56%, 32%)
HSVhsv(317, 71%, 49%)
CMYKcmyk(0%, 71.4%, 19.8%, 50.6%)
CIE-LABlab(30.97, 45.45, -17.45)
CIE-LCHlch(30.97, 48.69, 338.99°)
OKLaboklab(42.38% 0.1357 -0.0469)
OKLCHoklch(42.38% 0.144 340.9)
XYZxyz(11.5843, 6.6381, 12.9806)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2465 #247E3D
analogous
#6A247E #7E2465 #7E2438
triadic
#7E2465 #657E24 #24657E
tetradic
#7E2465 #7E6A24 #247E3D #24387E
square
#7E2465 #7E6A24 #247E3D #24387E
split-complementary
#7E2465 #387E24 #247E6A
monochromatic
#1F0919 #4E163F #7E2465 #AE328B #CD50AA

Accessibility & contrast

On white

9.02
#7E2465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7E2465 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2465
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2465#FFFFFF#000000##FFFFFF
##7E24651.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4067
Deuteranopia (green-blind)
#474E63
Tritanopia (blue-blind)
#862641
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2465;
/* rgb */ color: rgb(126, 36, 101);
/* oklch */ color: oklch(42.4% 0.144 340.9);
Tailwind
colors: {
  custom: {
    50: '#a66791',
    500: '#7e2465',
    950: '#000000',
  },
}
SCSS
$custom: #7e2465;
$custom-light: #a66791;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2465",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 101
  },
  "hsl": {
    "h": 316.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42384,
    "c": 0.14357,
    "h": 340.9
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

primary
#7E2465
secondary
#4EB069
accent
#DF7349
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E2465

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

Preview Lab → · Contrast checker → · Palette generator →

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