#7E2263#7E2263

#7E2263 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.145 H 341.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#7E2263
RGBrgb(126, 34, 99)
HSLhsl(318, 58%, 31%)
HSVhsv(318, 73%, 49%)
CMYKcmyk(0%, 73%, 21.4%, 50.6%)
CIE-LABlab(30.60, 45.94, -16.74)
CIE-LCHlch(30.60, 48.89, 339.98°)
OKLaboklab(42.08% 0.1377 -0.0449)
OKLCHoklch(42.08% 0.145 341.9)
XYZxyz(11.4287, 6.4817, 12.4512)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2263 #227E3D
analogous
#6B227E #7E2263 #7E2235
triadic
#7E2263 #637E22 #22637E
tetradic
#7E2263 #7E6B22 #227E3D #22357E
square
#7E2263 #7E6B22 #227E3D #22357E
split-complementary
#7E2263 #357E22 #227E6B
monochromatic
#1E0817 #4E153D #7E2263 #AE2F89 #CF4CA8

Accessibility & contrast

On white

9.15
#7E2263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7E2263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2263
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2263#FFFFFF#000000##FFFFFF
##7E22631.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3E65
Deuteranopia (green-blind)
#464D61
Tritanopia (blue-blind)
#86233F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2263;
/* rgb */ color: rgb(126, 34, 99);
/* oklch */ color: oklch(42.1% 0.145 341.9);
Tailwind
colors: {
  custom: {
    50: '#a7668f',
    500: '#7e2263',
    950: '#000000',
  },
}
SCSS
$custom: #7e2263;
$custom-light: #a7668f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2263",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 99
  },
  "hsl": {
    "h": 317.609,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42083,
    "c": 0.14483,
    "h": 341.9
  },
  "luminance": 0.06481
}

Semantic roles & 50–950 ramp

primary
#7E2263
secondary
#4BB169
accent
#E17447
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E2263

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

Preview Lab → · Contrast checker → · Palette generator →

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