#7E225B#7E225B

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

Color values

HEX#7E225B
RGBrgb(126, 34, 91)
HSLhsl(323, 58%, 31%)
HSVhsv(323, 73%, 49%)
CMYKcmyk(0%, 73%, 27.8%, 50.6%)
CIE-LABlab(30.25, 44.81, -12.09)
CIE-LCHlch(30.25, 46.41, 344.91°)
OKLaboklab(41.71% 0.1359 -0.0319)
OKLCHoklch(41.71% 0.14 346.8)
XYZxyz(11.0650, 6.3362, 10.5358)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E225B #227E45
analogous
#73227E #7E225B #7E222D
triadic
#7E225B #5B7E22 #225B7E
tetradic
#7E225B #7E7322 #227E45 #222D7E
square
#7E225B #7E7322 #227E45 #222D7E
split-complementary
#7E225B #2D7E22 #227E73
monochromatic
#1E0815 #4E1538 #7E225B #AE2F7E #CF4C9D

Accessibility & contrast

On white

9.26
#7E225B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7E225B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E225B
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E225B#FFFFFF#000000##FFFFFF
##7E225B1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e225b;
/* rgb */ color: rgb(126, 34, 91);
/* oklch */ color: oklch(41.7% 0.140 346.8);
Tailwind
colors: {
  custom: {
    50: '#a76689',
    500: '#7e225b',
    950: '#000000',
  },
}
SCSS
$custom: #7e225b;
$custom-light: #a76689;
$custom-dark: #000000;
JSON
{
  "hex": "#7e225b",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 91
  },
  "hsl": {
    "h": 322.826,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41712,
    "c": 0.13965,
    "h": 346.8
  },
  "luminance": 0.06335
}

Semantic roles & 50–950 ramp

primary
#7E225B
secondary
#4BB172
accent
#E18247
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E225B

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

Preview Lab → · Contrast checker → · Palette generator →

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