#7E264D#7E264D

#7E264D is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.6% C 0.127 H 356.9°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7E264D
RGBrgb(126, 38, 77)
HSLhsl(333, 54%, 32%)
HSVhsv(333, 70%, 49%)
CMYKcmyk(0%, 69.8%, 38.9%, 50.6%)
CIE-LABlab(30.30, 41.38, -2.83)
CIE-LCHlch(30.30, 41.48, 356.09°)
OKLaboklab(41.58% 0.1267 -0.0069)
OKLCHoklch(41.58% 0.127 356.9)
XYZxyz(10.6375, 6.3589, 7.6869)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E264D #267E57
analogous
#7E2679 #7E264D #7E2B26
triadic
#7E264D #4D7E26 #264D7E
tetradic
#7E264D #797E26 #267E57 #2B267E
square
#7E264D #797E26 #267E57 #2B267E
split-complementary
#7E264D #267E2B #26797E
monochromatic
#200A14 #4F1830 #7E264D #AD346A #CB5388

Accessibility & contrast

On white

9.24
#7E264D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7E264D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E264D
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E264D#FFFFFF#000000##FFFFFF
##7E264D1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363D4E
Deuteranopia (green-blind)
#4E4D4B
Tritanopia (blue-blind)
#881E36
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e264d;
/* rgb */ color: rgb(126, 38, 77);
/* oklch */ color: oklch(41.6% 0.127 356.9);
Tailwind
colors: {
  custom: {
    50: '#a7677e',
    500: '#7e264d',
    950: '#000000',
  },
}
SCSS
$custom: #7e264d;
$custom-light: #a7677e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e264d",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 77
  },
  "hsl": {
    "h": 333.409,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41578,
    "c": 0.12688,
    "h": 356.9
  },
  "luminance": 0.06358
}

Semantic roles & 50–950 ramp

primary
#7E264D
secondary
#50B085
accent
#DD9C4B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E264D

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

Preview Lab → · Contrast checker → · Palette generator →

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