#7E2750#7E2750

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

Color values

HEX#7E2750
RGBrgb(126, 39, 80)
HSLhsl(332, 53%, 32%)
HSVhsv(332, 69%, 49%)
CMYKcmyk(0%, 69%, 36.5%, 50.6%)
CIE-LABlab(30.56, 41.32, -4.42)
CIE-LCHlch(30.56, 41.55, 353.90°)
OKLaboklab(41.81% 0.1264 -0.0111)
OKLCHoklch(41.81% 0.127 355)
XYZxyz(10.7783, 6.4671, 8.2685)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2750 #277E55
analogous
#7E277C #7E2750 #7E2A27
triadic
#7E2750 #507E27 #27507E
tetradic
#7E2750 #7C7E27 #277E55 #2A277E
square
#7E2750 #7C7E27 #277E55 #2A277E
split-complementary
#7E2750 #277E2A #277C7E
monochromatic
#210A15 #4F1932 #7E2750 #AD356E #CA558C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2750#FFFFFF#000000##FFFFFF
##7E27501.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)
#363E51
Deuteranopia (green-blind)
#4E4E4E
Tritanopia (blue-blind)
#882038
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2750;
/* rgb */ color: rgb(126, 39, 80);
/* oklch */ color: oklch(41.8% 0.127 355.0);
Tailwind
colors: {
  custom: {
    50: '#a76881',
    500: '#7e2750',
    950: '#000000',
  },
}
SCSS
$custom: #7e2750;
$custom-light: #a76881;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2750",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 80
  },
  "hsl": {
    "h": 331.724,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41805,
    "c": 0.12684,
    "h": 355
  },
  "luminance": 0.06466
}

Semantic roles & 50–950 ramp

primary
#7E2750
secondary
#52AF83
accent
#DC984C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E2750

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

Preview Lab → · Contrast checker → · Palette generator →

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