#7E224B#7E224B

#7E224B is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.131 H 357.4°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7E224B
RGBrgb(126, 34, 75)
HSLhsl(333, 58%, 31%)
HSVhsv(333, 73%, 49%)
CMYKcmyk(0%, 73%, 40.5%, 50.6%)
CIE-LABlab(29.64, 42.80, -2.49)
CIE-LCHlch(29.64, 42.88, 356.67°)
OKLaboklab(41.07% 0.1312 -0.006)
OKLCHoklch(41.07% 0.131 357.4)
XYZxyz(10.4469, 6.0889, 7.2804)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E224B #227E55
analogous
#7E2279 #7E224B #7E2722
triadic
#7E224B #4B7E22 #224B7E
tetradic
#7E224B #797E22 #227E55 #27227E
square
#7E224B #797E22 #227E55 #27227E
split-complementary
#7E224B #227E27 #22797E
monochromatic
#1E0812 #4E152E #7E224B #AE2F68 #CF4C86

Accessibility & contrast

On white

9.47
#7E224B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E224B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E224B
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E224B#FFFFFF#000000##FFFFFF
##7E224B1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4C
Deuteranopia (green-blind)
#4D4C49
Tritanopia (blue-blind)
#881833
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e224b;
/* rgb */ color: rgb(126, 34, 75);
/* oklch */ color: oklch(41.1% 0.131 357.4);
Tailwind
colors: {
  custom: {
    50: '#a7657d',
    500: '#7e224b',
    950: '#000000',
  },
}
SCSS
$custom: #7e224b;
$custom-light: #a7657d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e224b",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 75
  },
  "hsl": {
    "h": 333.261,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41065,
    "c": 0.13137,
    "h": 357.4
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#7E224B
secondary
#4BB183
accent
#E19C47
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E224B

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

Preview Lab → · Contrast checker → · Palette generator →

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