#7E2A50#7E2A50

#7E2A50 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.2% C 0.123 H 355.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#7E2A50
RGBrgb(126, 42, 80)
HSLhsl(333, 50%, 33%)
HSVhsv(333, 67%, 49%)
CMYKcmyk(0%, 66.7%, 36.5%, 50.6%)
CIE-LABlab(31.05, 39.98, -3.69)
CIE-LCHlch(31.05, 40.16, 354.72°)
OKLaboklab(42.16% 0.1222 -0.0092)
OKLCHoklch(42.16% 0.123 355.7)
XYZxyz(10.8807, 6.6719, 8.3027)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A50 #2A7E58
analogous
#7E2A7A #7E2A50 #7E2E2A
triadic
#7E2A50 #507E2A #2A507E
tetradic
#7E2A50 #7A7E2A #2A7E58 #2E2A7E
square
#7E2A50 #7A7E2A #2A7E58 #2E2A7E
split-complementary
#7E2A50 #2A7E2E #2A7A7E
monochromatic
#220B16 #501B33 #7E2A50 #AC396D #C85A8C

Accessibility & contrast

On white

9.00
#7E2A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7E2A50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2A50
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A50#FFFFFF#000000##FFFFFF
##7E2A501.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383F51
Deuteranopia (green-blind)
#4F4F4E
Tritanopia (blue-blind)
#882339
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2a50;
/* rgb */ color: rgb(126, 42, 80);
/* oklch */ color: oklch(42.2% 0.123 355.7);
Tailwind
colors: {
  custom: {
    50: '#a76981',
    500: '#7e2a50',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a50;
$custom-light: #a76981;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a50",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 80
  },
  "hsl": {
    "h": 332.857,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42164,
    "c": 0.12251,
    "h": 355.7
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#7E2A50
secondary
#56AE86
accent
#DA9B4E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E2A50

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

Preview Lab → · Contrast checker → · Palette generator →

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