#7E2260#7E2260

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

Color values

HEX#7E2260
RGBrgb(126, 34, 96)
HSLhsl(320, 58%, 31%)
HSVhsv(320, 73%, 49%)
CMYKcmyk(0%, 73%, 23.8%, 50.6%)
CIE-LABlab(30.46, 45.51, -15.00)
CIE-LCHlch(30.46, 47.92, 341.75°)
OKLaboklab(41.94% 0.1371 -0.0401)
OKLCHoklch(41.94% 0.143 343.7)
XYZxyz(11.2879, 6.4254, 11.7098)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2260 #227E40
analogous
#6E227E #7E2260 #7E2232
triadic
#7E2260 #607E22 #22607E
tetradic
#7E2260 #7E6E22 #227E40 #22327E
square
#7E2260 #7E6E22 #227E40 #22327E
split-complementary
#7E2260 #327E22 #227E6E
monochromatic
#1E0817 #4E153B #7E2260 #AE2F85 #CF4CA4

Accessibility & contrast

On white

9.19
#7E2260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E2260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2260
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2260#FFFFFF#000000##FFFFFF
##7E22601.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2260;
/* rgb */ color: rgb(126, 34, 96);
/* oklch */ color: oklch(41.9% 0.143 343.7);
Tailwind
colors: {
  custom: {
    50: '#a7668d',
    500: '#7e2260',
    950: '#000000',
  },
}
SCSS
$custom: #7e2260;
$custom-light: #a7668d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2260",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 96
  },
  "hsl": {
    "h": 319.565,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4194,
    "c": 0.14281,
    "h": 343.7
  },
  "luminance": 0.06424
}

Semantic roles & 50–950 ramp

primary
#7E2260
secondary
#4BB16C
accent
#E17947
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E2260

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

Preview Lab → · Contrast checker → · Palette generator →

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