#7E285A#7E285A

#7E285A is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.3% C 0.131 H 348.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#7E285A
RGBrgb(126, 40, 90)
HSLhsl(325, 52%, 33%)
HSVhsv(325, 68%, 49%)
CMYKcmyk(0%, 68.3%, 28.6%, 50.6%)
CIE-LABlab(31.10, 42.19, -10.14)
CIE-LCHlch(31.10, 43.39, 346.49°)
OKLaboklab(42.32% 0.128 -0.0266)
OKLCHoklch(42.32% 0.131 348.2)
XYZxyz(11.2089, 6.6926, 10.3724)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E285A #287E4C
analogous
#77287E #7E285A #7E282F
triadic
#7E285A #5A7E28 #285A7E
tetradic
#7E285A #7E7728 #287E4C #282F7E
square
#7E285A #7E7728 #287E4C #282F7E
split-complementary
#7E285A #2F7E28 #287E77
monochromatic
#210B18 #501939 #7E285A #AC377B #CA579A

Accessibility & contrast

On white

8.98
#7E285A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7E285A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E285A
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E285A#FFFFFF#000000##FFFFFF
##7E285A1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33405B
Deuteranopia (green-blind)
#4C4F58
Tritanopia (blue-blind)
#87253D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e285a;
/* rgb */ color: rgb(126, 40, 90);
/* oklch */ color: oklch(42.3% 0.131 348.2);
Tailwind
colors: {
  custom: {
    50: '#a76888',
    500: '#7e285a',
    950: '#000000',
  },
}
SCSS
$custom: #7e285a;
$custom-light: #a76888;
$custom-dark: #000000;
JSON
{
  "hex": "#7e285a",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 325.116,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42322,
    "c": 0.13076,
    "h": 348.2
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#7E285A
secondary
#53AF79
accent
#DB884D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7E285A

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

Preview Lab → · Contrast checker → · Palette generator →

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