#7E2A4F#7E2A4F

#7E2A4F is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.1% C 0.122 H 356.4°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#7E2A4F
RGBrgb(126, 42, 79)
HSLhsl(334, 50%, 33%)
HSVhsv(334, 67%, 49%)
CMYKcmyk(0%, 66.7%, 37.3%, 50.6%)
CIE-LABlab(31.01, 39.86, -3.09)
CIE-LCHlch(31.01, 39.98, 355.57°)
OKLaboklab(42.13% 0.1218 -0.0076)
OKLCHoklch(42.13% 0.122 356.4)
XYZxyz(10.8441, 6.6573, 8.1095)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A4F #2A7E59
analogous
#7E2A79 #7E2A4F #7E2F2A
triadic
#7E2A4F #4F7E2A #2A4F7E
tetradic
#7E2A4F #797E2A #2A7E59 #2F2A7E
square
#7E2A4F #797E2A #2A7E59 #2F2A7E
split-complementary
#7E2A4F #2A7E2F #2A797E
monochromatic
#220B15 #501B32 #7E2A4F #AC396C #C85A8B

Accessibility & contrast

On white

9.01
#7E2A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2A4F
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A4F#FFFFFF#000000##FFFFFF
##7E2A4F1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2a4f;
/* rgb */ color: rgb(126, 42, 79);
/* oklch */ color: oklch(42.1% 0.122 356.4);
Tailwind
colors: {
  custom: {
    50: '#a76980',
    500: '#7e2a4f',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a4f;
$custom-light: #a76980;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a4f",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 333.571,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42127,
    "c": 0.12206,
    "h": 356.4
  },
  "luminance": 0.06656
}

Semantic roles & 50–950 ramp

primary
#7E2A4F
secondary
#56AE87
accent
#DA9C4E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E2A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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