#7E284A#7E284A

#7E284A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.7% C 0.123 H 359.6°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7E284A
RGBrgb(126, 40, 74)
HSLhsl(336, 52%, 33%)
HSVhsv(336, 68%, 49%)
CMYKcmyk(0%, 68.3%, 41.3%, 50.6%)
CIE-LABlab(30.52, 40.16, -0.54)
CIE-LCHlch(30.52, 40.17, 359.23°)
OKLaboklab(41.71% 0.1229 -0.0009)
OKLCHoklch(41.71% 0.123 359.6)
XYZxyz(10.5997, 6.4489, 7.1638)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E284A #287E5C
analogous
#7E2875 #7E284A #7E3128
triadic
#7E284A #4A7E28 #284A7E
tetradic
#7E284A #757E28 #287E5C #31287E
square
#7E284A #757E28 #287E5C #31287E
split-complementary
#7E284A #287E31 #28757E
monochromatic
#210B13 #50192F #7E284A #AC3765 #CA5784

Accessibility & contrast

On white

9.17
#7E284A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7E284A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E284A
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E284A#FFFFFF#000000##FFFFFF
##7E284A1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383D4B
Deuteranopia (green-blind)
#504E48
Tritanopia (blue-blind)
#881F36
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e284a;
/* rgb */ color: rgb(126, 40, 74);
/* oklch */ color: oklch(41.7% 0.123 359.6);
Tailwind
colors: {
  custom: {
    50: '#a7687c',
    500: '#7e284a',
    950: '#000000',
  },
}
SCSS
$custom: #7e284a;
$custom-light: #a7687c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e284a",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 74
  },
  "hsl": {
    "h": 336.279,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41706,
    "c": 0.12288,
    "h": 359.6
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

primary
#7E284A
secondary
#53AF8A
accent
#DBA34D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E284A

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

Preview Lab → · Contrast checker → · Palette generator →

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