#7E2640#7E2640

#7E2640 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.1% C 0.123 H 6.4°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7E2640
RGBrgb(126, 38, 64)
HSLhsl(342, 54%, 32%)
HSVhsv(342, 70%, 49%)
CMYKcmyk(0%, 69.8%, 49.2%, 50.6%)
CIE-LABlab(29.89, 39.97, 5.17)
CIE-LCHlch(29.89, 40.30, 7.37°)
OKLaboklab(41.15% 0.1218 0.0136)
OKLCHoklch(41.15% 0.123 6.4)
XYZxyz(10.2235, 6.1933, 5.5066)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2640 #267E64
analogous
#7E266C #7E2640 #7E3826
triadic
#7E2640 #407E26 #26407E
tetradic
#7E2640 #6C7E26 #267E64 #38267E
square
#7E2640 #6C7E26 #267E64 #38267E
split-complementary
#7E2640 #267E38 #266C7E
monochromatic
#200A10 #4F1828 #7E2640 #AD3458 #CB5377

Accessibility & contrast

On white

9.38
#7E2640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7E2640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2640
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2640#FFFFFF#000000##FFFFFF
##7E26401.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3B41
Deuteranopia (green-blind)
#514D3E
Tritanopia (blue-blind)
#891830
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2640;
/* rgb */ color: rgb(126, 38, 64);
/* oklch */ color: oklch(41.1% 0.123 6.4);
Tailwind
colors: {
  custom: {
    50: '#a86774',
    500: '#7e2640',
    950: '#000000',
  },
}
SCSS
$custom: #7e2640;
$custom-light: #a86774;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2640",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 64
  },
  "hsl": {
    "h": 342.273,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41145,
    "c": 0.12258,
    "h": 6.4
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#7E2640
secondary
#50B093
accent
#DDB24B
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E2640

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

Preview Lab → · Contrast checker → · Palette generator →

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