#7E285B#7E285B

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

Color values

HEX#7E285B
RGBrgb(126, 40, 91)
HSLhsl(324, 52%, 33%)
HSVhsv(324, 68%, 49%)
CMYKcmyk(0%, 68.3%, 27.8%, 50.6%)
CIE-LABlab(31.14, 42.33, -10.73)
CIE-LCHlch(31.14, 43.67, 345.78°)
OKLaboklab(42.37% 0.1283 -0.0282)
OKLCHoklch(42.37% 0.131 347.6)
XYZxyz(11.2518, 6.7097, 10.5980)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E285B #287E4B
analogous
#76287E #7E285B #7E2830
triadic
#7E285B #5B7E28 #285B7E
tetradic
#7E285B #7E7628 #287E4B #28307E
square
#7E285B #7E7628 #287E4B #28307E
split-complementary
#7E285B #307E28 #287E76
monochromatic
#210B18 #501939 #7E285B #AC377D #CA579B

Accessibility & contrast

On white

8.97
#7E285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E285B
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E285B#FFFFFF#000000##FFFFFF
##7E285B1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33405C
Deuteranopia (green-blind)
#4B4F59
Tritanopia (blue-blind)
#87253E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e285b;
/* rgb */ color: rgb(126, 40, 91);
/* oklch */ color: oklch(42.4% 0.131 347.6);
Tailwind
colors: {
  custom: {
    50: '#a76889',
    500: '#7e285b',
    950: '#000000',
  },
}
SCSS
$custom: #7e285b;
$custom-light: #a76889;
$custom-dark: #000000;
JSON
{
  "hex": "#7e285b",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 324.419,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42365,
    "c": 0.13136,
    "h": 347.6
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#7E285B
secondary
#53AF78
accent
#DB874D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7E285B

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

Preview Lab → · Contrast checker → · Palette generator →

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