#7E255D#7E255D

#7E255D is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.137 H 345.9°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#7E255D
RGBrgb(126, 37, 93)
HSLhsl(322, 55%, 32%)
HSVhsv(322, 71%, 49%)
CMYKcmyk(0%, 70.6%, 26.2%, 50.6%)
CIE-LABlab(30.76, 43.88, -12.60)
CIE-LCHlch(30.76, 45.66, 343.98°)
OKLaboklab(42.12% 0.1327 -0.0334)
OKLCHoklch(42.12% 0.137 345.9)
XYZxyz(11.2420, 6.5502, 11.0261)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E255D #257E46
analogous
#73257E #7E255D #7E2531
triadic
#7E255D #5D7E25 #255D7E
tetradic
#7E255D #7E7325 #257E46 #25317E
square
#7E255D #7E7325 #257E46 #25317E
split-complementary
#7E255D #317E25 #257E73
monochromatic
#1F0917 #4F173A #7E255D #AD3380 #CC519F

Accessibility & contrast

On white

9.09
#7E255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E255D
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E255D#FFFFFF#000000##FFFFFF
##7E255D1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3F5F
Deuteranopia (green-blind)
#4A4E5B
Tritanopia (blue-blind)
#87233D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e255d;
/* rgb */ color: rgb(126, 37, 93);
/* oklch */ color: oklch(42.1% 0.137 345.9);
Tailwind
colors: {
  custom: {
    50: '#a7678b',
    500: '#7e255d',
    950: '#000000',
  },
}
SCSS
$custom: #7e255d;
$custom-light: #a7678b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e255d",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 322.247,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42116,
    "c": 0.13686,
    "h": 345.9
  },
  "luminance": 0.06549
}

Semantic roles & 50–950 ramp

primary
#7E255D
secondary
#4FB073
accent
#DE814A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E255D

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

Preview Lab → · Contrast checker → · Palette generator →

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