#7E2249#7E2249

#7E2249 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.0% C 0.131 H 358.8°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7E2249
RGBrgb(126, 34, 73)
HSLhsl(335, 58%, 31%)
HSVhsv(335, 73%, 49%)
CMYKcmyk(0%, 73%, 42.1%, 50.6%)
CIE-LABlab(29.57, 42.58, -1.27)
CIE-LCHlch(29.57, 42.60, 358.29°)
OKLaboklab(40.99% 0.1305 -0.0028)
OKLCHoklch(40.99% 0.131 358.8)
XYZxyz(10.3795, 6.0620, 6.9255)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2249 #227E57
analogous
#7E2277 #7E2249 #7E2922
triadic
#7E2249 #497E22 #22497E
tetradic
#7E2249 #777E22 #227E57 #29227E
square
#7E2249 #777E22 #227E57 #29227E
split-complementary
#7E2249 #227E29 #22777E
monochromatic
#1E0811 #4E152D #7E2249 #AE2F65 #CF4C83

Accessibility & contrast

On white

9.49
#7E2249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E2249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2249
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2249#FFFFFF#000000##FFFFFF
##7E22491.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4A
Deuteranopia (green-blind)
#4E4C47
Tritanopia (blue-blind)
#891732
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2249;
/* rgb */ color: rgb(126, 34, 73);
/* oklch */ color: oklch(41.0% 0.131 358.8);
Tailwind
colors: {
  custom: {
    50: '#a8657b',
    500: '#7e2249',
    950: '#000000',
  },
}
SCSS
$custom: #7e2249;
$custom-light: #a8657b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2249",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 73
  },
  "hsl": {
    "h": 334.565,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40993,
    "c": 0.13056,
    "h": 358.8
  },
  "luminance": 0.06061
}

Semantic roles & 50–950 ramp

primary
#7E2249
secondary
#4BB186
accent
#E1A047
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E2249

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

Preview Lab → · Contrast checker → · Palette generator →

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