#7E2269#7E2269

#7E2269 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.149 H 338.5°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#7E2269
RGBrgb(126, 34, 105)
HSLhsl(314, 58%, 31%)
HSVhsv(314, 73%, 49%)
CMYKcmyk(0%, 73%, 16.7%, 50.6%)
CIE-LABlab(30.88, 46.84, -20.16)
CIE-LCHlch(30.88, 51.00, 336.71°)
OKLaboklab(42.38% 0.1387 -0.0546)
OKLCHoklch(42.38% 0.149 338.5)
XYZxyz(11.7263, 6.6007, 14.0183)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2269 #227E37
analogous
#65227E #7E2269 #7E223B
triadic
#7E2269 #697E22 #22697E
tetradic
#7E2269 #7E6522 #227E37 #223B7E
square
#7E2269 #7E6522 #227E37 #223B7E
split-complementary
#7E2269 #3B7E22 #227E65
monochromatic
#1E0819 #4E1541 #7E2269 #AE2F91 #CF4CB1

Accessibility & contrast

On white

9.05
#7E2269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7E2269 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2269
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2269#FFFFFF#000000##FFFFFF
##7E22691.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263F6B
Deuteranopia (green-blind)
#444E67
Tritanopia (blue-blind)
#852642
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2269;
/* rgb */ color: rgb(126, 34, 105);
/* oklch */ color: oklch(42.4% 0.149 338.5);
Tailwind
colors: {
  custom: {
    50: '#a76694',
    500: '#7e2269',
    950: '#000000',
  },
}
SCSS
$custom: #7e2269;
$custom-light: #a76694;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2269",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 105
  },
  "hsl": {
    "h": 313.696,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42381,
    "c": 0.14906,
    "h": 338.5
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

primary
#7E2269
secondary
#4BB162
accent
#E16A47
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E2269

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

Preview Lab → · Contrast checker → · Palette generator →

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