#7E285C#7E285C

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

Color values

HEX#7E285C
RGBrgb(126, 40, 92)
HSLhsl(324, 52%, 33%)
HSVhsv(324, 68%, 49%)
CMYKcmyk(0%, 68.3%, 27%, 50.6%)
CIE-LABlab(31.18, 42.47, -11.32)
CIE-LCHlch(31.18, 43.95, 345.08°)
OKLaboklab(42.41% 0.1286 -0.0299)
OKLCHoklch(42.41% 0.132 346.9)
XYZxyz(11.2952, 6.7271, 10.8267)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E285C #287E4A
analogous
#75287E #7E285C #7E2831
triadic
#7E285C #5C7E28 #285C7E
tetradic
#7E285C #7E7528 #287E4A #28317E
square
#7E285C #7E7528 #287E4A #28317E
split-complementary
#7E285C #317E28 #287E75
monochromatic
#210B18 #50193A #7E285C #AC377E #CA579C

Accessibility & contrast

On white

8.95
#7E285C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7E285C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E285C
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E285C#FFFFFF#000000##FFFFFF
##7E285C1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32405E
Deuteranopia (green-blind)
#4B4F5A
Tritanopia (blue-blind)
#87263E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e285c;
/* rgb */ color: rgb(126, 40, 92);
/* oklch */ color: oklch(42.4% 0.132 346.9);
Tailwind
colors: {
  custom: {
    50: '#a7688a',
    500: '#7e285c',
    950: '#000000',
  },
}
SCSS
$custom: #7e285c;
$custom-light: #a7688a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e285c",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 92
  },
  "hsl": {
    "h": 323.721,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42408,
    "c": 0.13197,
    "h": 346.9
  },
  "luminance": 0.06726
}

Semantic roles & 50–950 ramp

primary
#7E285C
secondary
#53AF77
accent
#DB854D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7E285C

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

Preview Lab → · Contrast checker → · Palette generator →

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