#7E2261#7E2261

#7E2261 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.143 H 343.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#7E2261
RGBrgb(126, 34, 97)
HSLhsl(319, 58%, 31%)
HSVhsv(319, 73%, 49%)
CMYKcmyk(0%, 73%, 23%, 50.6%)
CIE-LABlab(30.51, 45.65, -15.58)
CIE-LCHlch(30.51, 48.24, 341.15°)
OKLaboklab(41.99% 0.1373 -0.0417)
OKLCHoklch(41.99% 0.143 343.1)
XYZxyz(11.3343, 6.4439, 11.9538)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2261 #227E3F
analogous
#6D227E #7E2261 #7E2233
triadic
#7E2261 #617E22 #22617E
tetradic
#7E2261 #7E6D22 #227E3F #22337E
square
#7E2261 #7E6D22 #227E3F #22337E
split-complementary
#7E2261 #337E22 #227E6D
monochromatic
#1E0817 #4E153C #7E2261 #AE2F86 #CF4CA5

Accessibility & contrast

On white

9.18
#7E2261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7E2261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2261
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2261#FFFFFF#000000##FFFFFF
##7E22611.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3E63
Deuteranopia (green-blind)
#474D5F
Tritanopia (blue-blind)
#86223E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2261;
/* rgb */ color: rgb(126, 34, 97);
/* oklch */ color: oklch(42.0% 0.143 343.1);
Tailwind
colors: {
  custom: {
    50: '#a7668e',
    500: '#7e2261',
    950: '#000000',
  },
}
SCSS
$custom: #7e2261;
$custom-light: #a7668e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2261",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 97
  },
  "hsl": {
    "h": 318.913,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41987,
    "c": 0.14348,
    "h": 343.1
  },
  "luminance": 0.06443
}

Semantic roles & 50–950 ramp

primary
#7E2261
secondary
#4BB16B
accent
#E17847
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E2261

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

Preview Lab → · Contrast checker → · Palette generator →

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