#7E2250#7E2250

#7E2250 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.134 H 354.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7E2250
RGBrgb(126, 34, 80)
HSLhsl(330, 58%, 31%)
HSVhsv(330, 73%, 49%)
CMYKcmyk(0%, 73%, 36.5%, 50.6%)
CIE-LABlab(29.81, 43.39, -5.53)
CIE-LCHlch(29.81, 43.74, 352.74°)
OKLaboklab(41.25% 0.1329 -0.0141)
OKLCHoklch(41.25% 0.134 354)
XYZxyz(10.6248, 6.1601, 8.2174)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2250 #227E50
analogous
#7E227E #7E2250 #7E2222
triadic
#7E2250 #507E22 #22507E
tetradic
#7E2250 #7E7E22 #227E50 #22227E
square
#7E2250 #7E7E22 #227E50 #22227E
split-complementary
#7E2250 #227E22 #227E7E
monochromatic
#1E0813 #4E1531 #7E2250 #AE2F6F #CF4C8D

Accessibility & contrast

On white

9.41
#7E2250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E2250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2250
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2250#FFFFFF#000000##FFFFFF
##7E22501.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323B51
Deuteranopia (green-blind)
#4C4C4E
Tritanopia (blue-blind)
#881A36
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2250;
/* rgb */ color: rgb(126, 34, 80);
/* oklch */ color: oklch(41.3% 0.134 354.0);
Tailwind
colors: {
  custom: {
    50: '#a76581',
    500: '#7e2250',
    950: '#000000',
  },
}
SCSS
$custom: #7e2250;
$custom-light: #a76581;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2250",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 80
  },
  "hsl": {
    "h": 330,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41253,
    "c": 0.13361,
    "h": 354
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#7E2250
secondary
#4BB17E
accent
#E19447
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E2250

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

Preview Lab → · Contrast checker → · Palette generator →

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