#7E245A#7E245A

#7E245A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.136 H 347.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#7E245A
RGBrgb(126, 36, 90)
HSLhsl(324, 56%, 32%)
HSVhsv(324, 71%, 49%)
CMYKcmyk(0%, 71.4%, 28.6%, 50.6%)
CIE-LABlab(30.49, 43.88, -11.06)
CIE-LCHlch(30.49, 45.25, 345.85°)
OKLaboklab(41.88% 0.1332 -0.0291)
OKLCHoklch(41.88% 0.136 347.7)
XYZxyz(11.0810, 6.4367, 10.3297)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E245A #247E48
analogous
#75247E #7E245A #7E242D
triadic
#7E245A #5A7E24 #245A7E
tetradic
#7E245A #7E7524 #247E48 #242D7E
square
#7E245A #7E7524 #247E48 #242D7E
split-complementary
#7E245A #2D7E24 #247E75
monochromatic
#1F0916 #4E1638 #7E245A #AE327C #CD509B

Accessibility & contrast

On white

9.18
#7E245A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E245A
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E245A#FFFFFF#000000##FFFFFF
##7E245A1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303E5C
Deuteranopia (green-blind)
#4A4D58
Tritanopia (blue-blind)
#87213B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e245a;
/* rgb */ color: rgb(126, 36, 90);
/* oklch */ color: oklch(41.9% 0.136 347.7);
Tailwind
colors: {
  custom: {
    50: '#a76688',
    500: '#7e245a',
    950: '#000000',
  },
}
SCSS
$custom: #7e245a;
$custom-light: #a76688;
$custom-dark: #000000;
JSON
{
  "hex": "#7e245a",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 90
  },
  "hsl": {
    "h": 324,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41876,
    "c": 0.13638,
    "h": 347.7
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

primary
#7E245A
secondary
#4EB075
accent
#DF8549
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E245A

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

Preview Lab → · Contrast checker → · Palette generator →

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