#7E264A#7E264A

#7E264A is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.5% C 0.126 H 359.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7E264A
RGBrgb(126, 38, 74)
HSLhsl(335, 54%, 32%)
HSVhsv(335, 70%, 49%)
CMYKcmyk(0%, 69.8%, 41.3%, 50.6%)
CIE-LABlab(30.20, 41.03, -1.00)
CIE-LCHlch(30.20, 41.05, 358.60°)
OKLaboklab(41.47% 0.1256 -0.0021)
OKLCHoklch(41.47% 0.126 359)
XYZxyz(10.5340, 6.3175, 7.1419)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E264A #267E5A
analogous
#7E2676 #7E264A #7E2E26
triadic
#7E264A #4A7E26 #264A7E
tetradic
#7E264A #767E26 #267E5A #2E267E
square
#7E264A #767E26 #267E5A #2E267E
split-complementary
#7E264A #267E2E #26767E
monochromatic
#200A13 #4F182E #7E264A #AD3466 #CB5384

Accessibility & contrast

On white

9.28
#7E264A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7E264A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E264A
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E264A#FFFFFF#000000##FFFFFF
##7E264A1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373D4B
Deuteranopia (green-blind)
#4F4D48
Tritanopia (blue-blind)
#891C35
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e264a;
/* rgb */ color: rgb(126, 38, 74);
/* oklch */ color: oklch(41.5% 0.126 359.0);
Tailwind
colors: {
  custom: {
    50: '#a7677c',
    500: '#7e264a',
    950: '#000000',
  },
}
SCSS
$custom: #7e264a;
$custom-light: #a7677c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e264a",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 74
  },
  "hsl": {
    "h": 335.455,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4147,
    "c": 0.12566,
    "h": 359
  },
  "luminance": 0.06316
}

Semantic roles & 50–950 ramp

primary
#7E264A
secondary
#50B089
accent
#DDA14B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E264A

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

Preview Lab → · Contrast checker → · Palette generator →

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