#7E2D53#7E2D53

#7E2D53 is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.7% C 0.119 H 354.2°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#7E2D53
RGBrgb(126, 45, 83)
HSLhsl(332, 47%, 34%)
HSVhsv(332, 64%, 49%)
CMYKcmyk(0%, 64.3%, 34.1%, 50.6%)
CIE-LABlab(31.67, 38.98, -4.73)
CIE-LCHlch(31.67, 39.26, 353.08°)
OKLaboklab(42.66% 0.1188 -0.012)
OKLCHoklch(42.66% 0.119 354.2)
XYZxyz(11.1045, 6.9381, 8.9363)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D53 #2D7E58
analogous
#7E2D7B #7E2D53 #7E2F2D
triadic
#7E2D53 #537E2D #2D537E
tetradic
#7E2D53 #7B7E2D #2D7E58 #2F2D7E
square
#7E2D53 #7B7E2D #2D7E58 #2F2D7E
split-complementary
#7E2D53 #2D7E2F #2D7B7E
monochromatic
#240D18 #511D35 #7E2D53 #AB3D71 #C65F90

Accessibility & contrast

On white

8.80
#7E2D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7E2D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D53
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D53#FFFFFF#000000##FFFFFF
##7E2D531.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4154
Deuteranopia (green-blind)
#505051
Tritanopia (blue-blind)
#88283C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2d53;
/* rgb */ color: rgb(126, 45, 83);
/* oklch */ color: oklch(42.7% 0.119 354.2);
Tailwind
colors: {
  custom: {
    50: '#a76b83',
    500: '#7e2d53',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d53;
$custom-light: #a76b83;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d53",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 83
  },
  "hsl": {
    "h": 331.852,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42656,
    "c": 0.11943,
    "h": 354.2
  },
  "luminance": 0.06937
}

Semantic roles & 50–950 ramp

primary
#7E2D53
secondary
#5AAC86
accent
#D79851
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E2D53

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

Preview Lab → · Contrast checker → · Palette generator →

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