#7E2144#7E2144

#7E2144 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.130 H 2.0°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7E2144
RGBrgb(126, 33, 68)
HSLhsl(337, 58%, 31%)
HSVhsv(337, 74%, 49%)
CMYKcmyk(0%, 73.8%, 46%, 50.6%)
CIE-LABlab(29.27, 42.43, 1.61)
CIE-LCHlch(29.27, 42.47, 2.17°)
OKLaboklab(40.72% 0.13 0.0046)
OKLCHoklch(40.72% 0.13 2)
XYZxyz(10.1922, 5.9420, 6.0779)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2144 #217E5B
analogous
#7E2172 #7E2144 #7E2C21
triadic
#7E2144 #447E21 #21447E
tetradic
#7E2144 #727E21 #217E5B #2C217E
square
#7E2144 #727E21 #217E5B #2C217E
split-complementary
#7E2144 #217E2C #21727E
monochromatic
#1D0810 #4E142A #7E2144 #AE2E5E #D04A7C

Accessibility & contrast

On white

9.60
#7E2144 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E2144 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2144
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2144#FFFFFF#000000##FFFFFF
##7E21441.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353945
Deuteranopia (green-blind)
#4E4C42
Tritanopia (blue-blind)
#891330
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2144;
/* rgb */ color: rgb(126, 33, 68);
/* oklch */ color: oklch(40.7% 0.130 2.0);
Tailwind
colors: {
  custom: {
    50: '#a86477',
    500: '#7e2144',
    950: '#000000',
  },
}
SCSS
$custom: #7e2144;
$custom-light: #a86477;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2144",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 68
  },
  "hsl": {
    "h": 337.419,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40717,
    "c": 0.13005,
    "h": 2
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#7E2144
secondary
#4AB18A
accent
#E2A746
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E2144

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

Preview Lab → · Contrast checker → · Palette generator →

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