#7E264E#7E264E

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

Color values

HEX#7E264E
RGBrgb(126, 38, 78)
HSLhsl(333, 54%, 32%)
HSVhsv(333, 70%, 49%)
CMYKcmyk(0%, 69.8%, 38.1%, 50.6%)
CIE-LABlab(30.33, 41.50, -3.44)
CIE-LCHlch(30.33, 41.65, 355.26°)
OKLaboklab(41.61% 0.127 -0.0085)
OKLCHoklch(41.61% 0.127 356.2)
XYZxyz(10.6731, 6.3731, 7.8743)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E264E #267E56
analogous
#7E267A #7E264E #7E2A26
triadic
#7E264E #4E7E26 #264E7E
tetradic
#7E264E #7A7E26 #267E56 #2A267E
square
#7E264E #7A7E26 #267E56 #2A267E
split-complementary
#7E264E #267E2A #267A7E
monochromatic
#200A14 #4F1831 #7E264E #AD346B #CB538A

Accessibility & contrast

On white

9.23
#7E264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E264E
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E264E#FFFFFF#000000##FFFFFF
##7E264E1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e264e;
/* rgb */ color: rgb(126, 38, 78);
/* oklch */ color: oklch(41.6% 0.127 356.2);
Tailwind
colors: {
  custom: {
    50: '#a7677f',
    500: '#7e264e',
    950: '#000000',
  },
}
SCSS
$custom: #7e264e;
$custom-light: #a7677f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e264e",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 332.727,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41614,
    "c": 0.12732,
    "h": 356.2
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#7E264E
secondary
#50B084
accent
#DD9B4B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E264E

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

Preview Lab → · Contrast checker → · Palette generator →

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