#7E225A#7E225A

#7E225A is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.139 H 347.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7E225A
RGBrgb(126, 34, 90)
HSLhsl(323, 58%, 31%)
HSVhsv(323, 73%, 49%)
CMYKcmyk(0%, 73%, 28.6%, 50.6%)
CIE-LABlab(30.20, 44.67, -11.50)
CIE-LCHlch(30.20, 46.13, 345.57°)
OKLaboklab(41.67% 0.1357 -0.0303)
OKLCHoklch(41.67% 0.139 347.4)
XYZxyz(11.0222, 6.3190, 10.3101)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E225A #227E46
analogous
#74227E #7E225A #7E222C
triadic
#7E225A #5A7E22 #225A7E
tetradic
#7E225A #7E7422 #227E46 #222C7E
square
#7E225A #7E7422 #227E46 #222C7E
split-complementary
#7E225A #2C7E22 #227E74
monochromatic
#1E0815 #4E1538 #7E225A #AE2F7C #CF4C9B

Accessibility & contrast

On white

9.28
#7E225A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7E225A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E225A
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E225A#FFFFFF#000000##FFFFFF
##7E225A1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3D5C
Deuteranopia (green-blind)
#494D58
Tritanopia (blue-blind)
#871F3B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e225a;
/* rgb */ color: rgb(126, 34, 90);
/* oklch */ color: oklch(41.7% 0.139 347.4);
Tailwind
colors: {
  custom: {
    50: '#a76588',
    500: '#7e225a',
    950: '#000000',
  },
}
SCSS
$custom: #7e225a;
$custom-light: #a76588;
$custom-dark: #000000;
JSON
{
  "hex": "#7e225a",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 323.478,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41668,
    "c": 0.13904,
    "h": 347.4
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#7E225A
secondary
#4BB173
accent
#E18347
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E225A

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

Preview Lab → · Contrast checker → · Palette generator →

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