#7E2B53#7E2B53

#7E2B53 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.4% C 0.122 H 353.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#7E2B53
RGBrgb(126, 43, 83)
HSLhsl(331, 49%, 33%)
HSVhsv(331, 66%, 49%)
CMYKcmyk(0%, 65.9%, 34.1%, 50.6%)
CIE-LABlab(31.32, 39.91, -5.25)
CIE-LCHlch(31.32, 40.25, 352.51°)
OKLaboklab(42.4% 0.1217 -0.0134)
OKLCHoklch(42.4% 0.122 353.7)
XYZxyz(11.0300, 6.7891, 8.9115)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B53 #2B7E56
analogous
#7E2B7C #7E2B53 #7E2C2B
triadic
#7E2B53 #537E2B #2B537E
tetradic
#7E2B53 #7C7E2B #2B7E56 #2C2B7E
square
#7E2B53 #7C7E2B #2B7E56 #2C2B7E
split-complementary
#7E2B53 #2B7E2C #2B7C7E
monochromatic
#230C17 #501B35 #7E2B53 #AC3B71 #C75C90

Accessibility & contrast

On white

8.91
#7E2B53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7E2B53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B53
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B53#FFFFFF#000000##FFFFFF
##7E2B531.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384054
Deuteranopia (green-blind)
#4F4F51
Tritanopia (blue-blind)
#88253B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2b53;
/* rgb */ color: rgb(126, 43, 83);
/* oklch */ color: oklch(42.4% 0.122 353.7);
Tailwind
colors: {
  custom: {
    50: '#a76a83',
    500: '#7e2b53',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b53;
$custom-light: #a76a83;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b53",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 83
  },
  "hsl": {
    "h": 331.084,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42402,
    "c": 0.12246,
    "h": 353.7
  },
  "luminance": 0.06788
}

Semantic roles & 50–950 ramp

primary
#7E2B53
secondary
#58AD84
accent
#D9964F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E2B53

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

Preview Lab → · Contrast checker → · Palette generator →

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