#7E285F#7E285F

#7E285F is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.5% C 0.134 H 345.0°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#7E285F
RGBrgb(126, 40, 95)
HSLhsl(322, 52%, 33%)
HSVhsv(322, 68%, 49%)
CMYKcmyk(0%, 68.3%, 24.6%, 50.6%)
CIE-LABlab(31.30, 42.90, -13.07)
CIE-LCHlch(31.30, 44.85, 343.06°)
OKLaboklab(42.54% 0.1293 -0.0347)
OKLCHoklch(42.54% 0.134 345)
XYZxyz(11.4289, 6.7806, 11.5311)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E285F #287E47
analogous
#72287E #7E285F #7E2834
triadic
#7E285F #5F7E28 #285F7E
tetradic
#7E285F #7E7228 #287E47 #28347E
square
#7E285F #7E7228 #287E47 #28347E
split-complementary
#7E285F #347E28 #287E72
monochromatic
#210B19 #50193C #7E285F #AC3782 #CA57A0

Accessibility & contrast

On white

8.91
#7E285F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7E285F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E285F
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E285F#FFFFFF#000000##FFFFFF
##7E285F1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314061
Deuteranopia (green-blind)
#4A4F5D
Tritanopia (blue-blind)
#86273F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e285f;
/* rgb */ color: rgb(126, 40, 95);
/* oklch */ color: oklch(42.5% 0.134 345.0);
Tailwind
colors: {
  custom: {
    50: '#a6698c',
    500: '#7e285f',
    950: '#000000',
  },
}
SCSS
$custom: #7e285f;
$custom-light: #a6698c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e285f",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 321.628,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42541,
    "c": 0.13389,
    "h": 345
  },
  "luminance": 0.06779
}

Semantic roles & 50–950 ramp

primary
#7E285F
secondary
#53AF74
accent
#DB804D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E285F

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

Preview Lab → · Contrast checker → · Palette generator →

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