#7E286A#7E286A

#7E286A is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.142 H 338.3°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7E286A
RGBrgb(126, 40, 106)
HSLhsl(314, 52%, 33%)
HSVhsv(314, 68%, 49%)
CMYKcmyk(0%, 68.3%, 15.9%, 50.6%)
CIE-LABlab(31.80, 44.57, -19.38)
CIE-LCHlch(31.80, 48.60, 336.50°)
OKLaboklab(43.06% 0.1316 -0.0524)
OKLCHoklch(43.06% 0.142 338.3)
XYZxyz(11.9647, 6.9949, 14.3529)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E286A #287E3C
analogous
#67287E #7E286A #7E283F
triadic
#7E286A #6A7E28 #286A7E
tetradic
#7E286A #7E6728 #287E3C #283F7E
square
#7E286A #7E6728 #287E3C #283F7E
split-complementary
#7E286A #3F7E28 #287E67
monochromatic
#210B1C #501943 #7E286A #AC3791 #CA57AF

Accessibility & contrast

On white

8.75
#7E286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7E286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E286A
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E286A#FFFFFF#000000##FFFFFF
##7E286A1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B426C
Deuteranopia (green-blind)
#465068
Tritanopia (blue-blind)
#852B45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e286a;
/* rgb */ color: rgb(126, 40, 106);
/* oklch */ color: oklch(43.1% 0.142 338.3);
Tailwind
colors: {
  custom: {
    50: '#a66995',
    500: '#7e286a',
    950: '#000000',
  },
}
SCSS
$custom: #7e286a;
$custom-light: #a66995;
$custom-dark: #000000;
JSON
{
  "hex": "#7e286a",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 313.953,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43063,
    "c": 0.14166,
    "h": 338.3
  },
  "luminance": 0.06994
}

Semantic roles & 50–950 ramp

primary
#7E286A
secondary
#53AF68
accent
#DB6E4D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7E286A

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

Preview Lab → · Contrast checker → · Palette generator →

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