#7E284B#7E284B

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

Color values

HEX#7E284B
RGBrgb(126, 40, 75)
HSLhsl(336, 52%, 33%)
HSVhsv(336, 68%, 49%)
CMYKcmyk(0%, 68.3%, 40.5%, 50.6%)
CIE-LABlab(30.55, 40.28, -1.15)
CIE-LCHlch(30.55, 40.30, 358.37°)
OKLaboklab(41.74% 0.1232 -0.0025)
OKLCHoklch(41.74% 0.123 358.8)
XYZxyz(10.6337, 6.4624, 7.3426)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E284B #287E5B
analogous
#7E2876 #7E284B #7E3028
triadic
#7E284B #4B7E28 #284B7E
tetradic
#7E284B #767E28 #287E5B #30287E
square
#7E284B #767E28 #287E5B #30287E
split-complementary
#7E284B #287E30 #28767E
monochromatic
#210B14 #50192F #7E284B #AC3767 #CA5786

Accessibility & contrast

On white

9.16
#7E284B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E284B
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E284B#FFFFFF#000000##FFFFFF
##7E284B1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383E4C
Deuteranopia (green-blind)
#4F4E49
Tritanopia (blue-blind)
#881F36
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e284b;
/* rgb */ color: rgb(126, 40, 75);
/* oklch */ color: oklch(41.7% 0.123 358.8);
Tailwind
colors: {
  custom: {
    50: '#a7687d',
    500: '#7e284b',
    950: '#000000',
  },
}
SCSS
$custom: #7e284b;
$custom-light: #a7687d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e284b",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 75
  },
  "hsl": {
    "h": 335.581,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4174,
    "c": 0.12327,
    "h": 358.8
  },
  "luminance": 0.06461
}

Semantic roles & 50–950 ramp

primary
#7E284B
secondary
#53AF89
accent
#DBA14D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E284B

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

Preview Lab → · Contrast checker → · Palette generator →

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