#7E264F#7E264F

#7E264F is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.7% C 0.128 H 355.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#7E264F
RGBrgb(126, 38, 79)
HSLhsl(332, 54%, 32%)
HSVhsv(332, 70%, 49%)
CMYKcmyk(0%, 69.8%, 37.3%, 50.6%)
CIE-LABlab(30.37, 41.63, -4.04)
CIE-LCHlch(30.37, 41.82, 354.45°)
OKLaboklab(41.65% 0.1274 -0.0101)
OKLCHoklch(41.65% 0.128 355.5)
XYZxyz(10.7092, 6.3876, 8.0646)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E264F #267E55
analogous
#7E267B #7E264F #7E2926
triadic
#7E264F #4F7E26 #264F7E
tetradic
#7E264F #7B7E26 #267E55 #29267E
square
#7E264F #7B7E26 #267E55 #29267E
split-complementary
#7E264F #267E29 #267B7E
monochromatic
#200A14 #4F1832 #7E264F #AD346C #CB538B

Accessibility & contrast

On white

9.22
#7E264F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E264F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E264F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E264F#FFFFFF#000000##FFFFFF
##7E264F1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353D50
Deuteranopia (green-blind)
#4E4D4D
Tritanopia (blue-blind)
#881E37
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e264f;
/* rgb */ color: rgb(126, 38, 79);
/* oklch */ color: oklch(41.7% 0.128 355.5);
Tailwind
colors: {
  custom: {
    50: '#a76780',
    500: '#7e264f',
    950: '#000000',
  },
}
SCSS
$custom: #7e264f;
$custom-light: #a76780;
$custom-dark: #000000;
JSON
{
  "hex": "#7e264f",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 79
  },
  "hsl": {
    "h": 332.045,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41652,
    "c": 0.12777,
    "h": 355.5
  },
  "luminance": 0.06386
}

Semantic roles & 50–950 ramp

primary
#7E264F
secondary
#50B083
accent
#DD994B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E264F

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

Preview Lab → · Contrast checker → · Palette generator →

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