#7E255E#7E255E

#7E255E is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.2% C 0.137 H 345.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#7E255E
RGBrgb(126, 37, 94)
HSLhsl(322, 55%, 32%)
HSVhsv(322, 71%, 49%)
CMYKcmyk(0%, 70.6%, 25.4%, 50.6%)
CIE-LABlab(30.80, 44.02, -13.18)
CIE-LCHlch(30.80, 45.96, 343.33°)
OKLaboklab(42.16% 0.133 -0.035)
OKLCHoklch(42.16% 0.137 345.2)
XYZxyz(11.2866, 6.5681, 11.2609)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E255E #257E45
analogous
#72257E #7E255E #7E2532
triadic
#7E255E #5E7E25 #255E7E
tetradic
#7E255E #7E7225 #257E45 #25327E
square
#7E255E #7E7225 #257E45 #25327E
split-complementary
#7E255E #327E25 #257E72
monochromatic
#1F0917 #4F173B #7E255E #AD3381 #CC51A0

Accessibility & contrast

On white

9.08
#7E255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7E255E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E255E
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E255E#FFFFFF#000000##FFFFFF
##7E255E1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3F60
Deuteranopia (green-blind)
#494E5C
Tritanopia (blue-blind)
#87243E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e255e;
/* rgb */ color: rgb(126, 37, 94);
/* oklch */ color: oklch(42.2% 0.137 345.2);
Tailwind
colors: {
  custom: {
    50: '#a7678b',
    500: '#7e255e',
    950: '#000000',
  },
}
SCSS
$custom: #7e255e;
$custom-light: #a7678b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e255e",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 321.573,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42161,
    "c": 0.13749,
    "h": 345.2
  },
  "luminance": 0.06567
}

Semantic roles & 50–950 ramp

primary
#7E255E
secondary
#4FB072
accent
#DE7F4A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E255E

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

Preview Lab → · Contrast checker → · Palette generator →

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