#7E284E#7E284E

#7E284E is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.8% C 0.125 H 356.6°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#7E284E
RGBrgb(126, 40, 78)
HSLhsl(333, 52%, 33%)
HSVhsv(333, 68%, 49%)
CMYKcmyk(0%, 68.3%, 38.1%, 50.6%)
CIE-LABlab(30.65, 40.64, -2.97)
CIE-LCHlch(30.65, 40.74, 355.82°)
OKLaboklab(41.85% 0.1243 -0.0073)
OKLCHoklch(41.85% 0.125 356.6)
XYZxyz(10.7388, 6.5045, 7.8962)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E284E #287E58
analogous
#7E2879 #7E284E #7E2D28
triadic
#7E284E #4E7E28 #284E7E
tetradic
#7E284E #797E28 #287E58 #2D287E
square
#7E284E #797E28 #287E58 #2D287E
split-complementary
#7E284E #287E2D #28797E
monochromatic
#210B14 #501931 #7E284E #AC376B #CA578A

Accessibility & contrast

On white

9.13
#7E284E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7E284E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E284E
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E284E#FFFFFF#000000##FFFFFF
##7E284E1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E4F
Deuteranopia (green-blind)
#4F4E4C
Tritanopia (blue-blind)
#882037
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e284e;
/* rgb */ color: rgb(126, 40, 78);
/* oklch */ color: oklch(41.8% 0.125 356.6);
Tailwind
colors: {
  custom: {
    50: '#a7687f',
    500: '#7e284e',
    950: '#000000',
  },
}
SCSS
$custom: #7e284e;
$custom-light: #a7687f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e284e",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 78
  },
  "hsl": {
    "h": 333.488,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41848,
    "c": 0.12451,
    "h": 356.6
  },
  "luminance": 0.06503
}

Semantic roles & 50–950 ramp

primary
#7E284E
secondary
#53AF86
accent
#DB9C4D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E284E

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

Preview Lab → · Contrast checker → · Palette generator →

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