#7E286E#7E286E

#7E286E is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.145 H 336.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#7E286E
RGBrgb(126, 40, 110)
HSLhsl(311, 52%, 33%)
HSVhsv(311, 68%, 49%)
CMYKcmyk(0%, 68.3%, 12.7%, 50.6%)
CIE-LABlab(31.99, 45.22, -21.63)
CIE-LCHlch(31.99, 50.13, 334.43°)
OKLaboklab(43.27% 0.1322 -0.0588)
OKLCHoklch(43.27% 0.145 336)
XYZxyz(12.1776, 7.0800, 15.4740)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E286E #287E38
analogous
#63287E #7E286E #7E2843
triadic
#7E286E #6E7E28 #286E7E
tetradic
#7E286E #7E6328 #287E38 #28437E
square
#7E286E #7E6328 #287E38 #28437E
split-complementary
#7E286E #437E28 #287E63
monochromatic
#210B1D #501945 #7E286E #AC3797 #CA57B4

Accessibility & contrast

On white

8.69
#7E286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7E286E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E286E
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E286E#FFFFFF#000000##FFFFFF
##7E286E1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294370
Deuteranopia (green-blind)
#45506C
Tritanopia (blue-blind)
#842D47
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e286e;
/* rgb */ color: rgb(126, 40, 110);
/* oklch */ color: oklch(43.3% 0.145 336.0);
Tailwind
colors: {
  custom: {
    50: '#a66998',
    500: '#7e286e',
    950: '#000000',
  },
}
SCSS
$custom: #7e286e;
$custom-light: #a66998;
$custom-dark: #000000;
JSON
{
  "hex": "#7e286e",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 311.163,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43267,
    "c": 0.14473,
    "h": 336
  },
  "luminance": 0.07079
}

Semantic roles & 50–950 ramp

primary
#7E286E
secondary
#53AF64
accent
#DB674D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7E286E

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

Preview Lab → · Contrast checker → · Palette generator →

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