#7E284F#7E284F

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

Color values

HEX#7E284F
RGBrgb(126, 40, 79)
HSLhsl(333, 52%, 33%)
HSVhsv(333, 68%, 49%)
CMYKcmyk(0%, 68.3%, 37.3%, 50.6%)
CIE-LABlab(30.69, 40.76, -3.58)
CIE-LCHlch(30.69, 40.91, 354.99°)
OKLaboklab(41.89% 0.1246 -0.0089)
OKLCHoklch(41.89% 0.125 355.9)
XYZxyz(10.7749, 6.5189, 8.0865)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E284F #287E57
analogous
#7E287A #7E284F #7E2C28
triadic
#7E284F #4F7E28 #284F7E
tetradic
#7E284F #7A7E28 #287E57 #2C287E
square
#7E284F #7A7E28 #287E57 #2C287E
split-complementary
#7E284F #287E2C #287A7E
monochromatic
#210B15 #501932 #7E284F #AC376C #CA578B

Accessibility & contrast

On white

9.12
#7E284F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E284F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E284F#FFFFFF#000000##FFFFFF
##7E284F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E50
Deuteranopia (green-blind)
#4E4E4D
Tritanopia (blue-blind)
#882138
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e284f;
/* rgb */ color: rgb(126, 40, 79);
/* oklch */ color: oklch(41.9% 0.125 355.9);
Tailwind
colors: {
  custom: {
    50: '#a76880',
    500: '#7e284f',
    950: '#000000',
  },
}
SCSS
$custom: #7e284f;
$custom-light: #a76880;
$custom-dark: #000000;
JSON
{
  "hex": "#7e284f",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 79
  },
  "hsl": {
    "h": 332.791,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41885,
    "c": 0.12496,
    "h": 355.9
  },
  "luminance": 0.06518
}

Semantic roles & 50–950 ramp

primary
#7E284F
secondary
#53AF85
accent
#DB9B4D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E284F

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

Preview Lab → · Contrast checker → · Palette generator →

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