#7E2352#7E2352

#7E2352 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.133 H 352.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7E2352
RGBrgb(126, 35, 82)
HSLhsl(329, 57%, 32%)
HSVhsv(329, 72%, 49%)
CMYKcmyk(0%, 72.2%, 34.9%, 50.6%)
CIE-LABlab(30.03, 43.24, -6.52)
CIE-LCHlch(30.03, 43.73, 351.42°)
OKLaboklab(41.44% 0.1322 -0.0167)
OKLCHoklch(41.44% 0.133 352.8)
XYZxyz(10.7288, 6.2481, 8.6220)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2352 #237E4F
analogous
#7D237E #7E2352 #7E2325
triadic
#7E2352 #527E23 #23527E
tetradic
#7E2352 #7E7D23 #237E4F #23257E
square
#7E2352 #7E7D23 #237E4F #23257E
split-complementary
#7E2352 #257E23 #237E7D
monochromatic
#1E0814 #4E1633 #7E2352 #AE3071 #CE4E90

Accessibility & contrast

On white

9.34
#7E2352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7E2352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2352
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2352#FFFFFF#000000##FFFFFF
##7E23521.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323C53
Deuteranopia (green-blind)
#4C4D50
Tritanopia (blue-blind)
#881C37
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2352;
/* rgb */ color: rgb(126, 35, 82);
/* oklch */ color: oklch(41.4% 0.133 352.8);
Tailwind
colors: {
  custom: {
    50: '#a76682',
    500: '#7e2352',
    950: '#000000',
  },
}
SCSS
$custom: #7e2352;
$custom-light: #a76682;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2352",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 82
  },
  "hsl": {
    "h": 329.011,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41437,
    "c": 0.13329,
    "h": 352.8
  },
  "luminance": 0.06247
}

Semantic roles & 50–950 ramp

primary
#7E2352
secondary
#4CB07D
accent
#E09148
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E2352

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

Preview Lab → · Contrast checker → · Palette generator →

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