#7E255A#7E255A

#7E255A is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.135 H 347.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#7E255A
RGBrgb(126, 37, 90)
HSLhsl(324, 55%, 32%)
HSVhsv(324, 71%, 49%)
CMYKcmyk(0%, 70.6%, 28.6%, 50.6%)
CIE-LABlab(30.64, 43.47, -10.84)
CIE-LCHlch(30.64, 44.80, 346.00°)
OKLaboklab(41.98% 0.132 -0.0285)
OKLCHoklch(41.98% 0.135 347.8)
XYZxyz(11.1117, 6.4981, 10.3400)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E255A #257E49
analogous
#76257E #7E255A #7E252D
triadic
#7E255A #5A7E25 #255A7E
tetradic
#7E255A #7E7625 #257E49 #252D7E
square
#7E255A #7E7625 #257E49 #252D7E
split-complementary
#7E255A #2D7E25 #257E76
monochromatic
#1F0916 #4F1738 #7E255A #AD337C #CC519A

Accessibility & contrast

On white

9.13
#7E255A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7E255A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E255A
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E255A#FFFFFF#000000##FFFFFF
##7E255A1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313E5C
Deuteranopia (green-blind)
#4A4E58
Tritanopia (blue-blind)
#87223C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e255a;
/* rgb */ color: rgb(126, 37, 90);
/* oklch */ color: oklch(42.0% 0.135 347.8);
Tailwind
colors: {
  custom: {
    50: '#a76788',
    500: '#7e255a',
    950: '#000000',
  },
}
SCSS
$custom: #7e255a;
$custom-light: #a76788;
$custom-dark: #000000;
JSON
{
  "hex": "#7e255a",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 324.27,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41984,
    "c": 0.13501,
    "h": 347.8
  },
  "luminance": 0.06497
}

Semantic roles & 50–950 ramp

primary
#7E255A
secondary
#4FB076
accent
#DE864A
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E255A

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

Preview Lab → · Contrast checker → · Palette generator →

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