#7E2248#7E2248

#7E2248 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.130 H 359.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#7E2248
RGBrgb(126, 34, 72)
HSLhsl(335, 58%, 31%)
HSVhsv(335, 73%, 49%)
CMYKcmyk(0%, 73%, 42.9%, 50.6%)
CIE-LABlab(29.54, 42.47, -0.65)
CIE-LCHlch(29.54, 42.47, 359.12°)
OKLaboklab(40.96% 0.1302 -0.0012)
OKLCHoklch(40.96% 0.13 359.5)
XYZxyz(10.3466, 6.0488, 6.7523)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2248 #227E58
analogous
#7E2276 #7E2248 #7E2A22
triadic
#7E2248 #487E22 #22487E
tetradic
#7E2248 #767E22 #227E58 #2A227E
square
#7E2248 #767E22 #227E58 #2A227E
split-complementary
#7E2248 #227E2A #22767E
monochromatic
#1E0811 #4E152C #7E2248 #AE2F64 #CF4C82

Accessibility & contrast

On white

9.50
#7E2248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E2248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2248
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2248#FFFFFF#000000##FFFFFF
##7E22481.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353A49
Deuteranopia (green-blind)
#4E4C46
Tritanopia (blue-blind)
#891632
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2248;
/* rgb */ color: rgb(126, 34, 72);
/* oklch */ color: oklch(41.0% 0.130 359.5);
Tailwind
colors: {
  custom: {
    50: '#a8657a',
    500: '#7e2248',
    950: '#000000',
  },
}
SCSS
$custom: #7e2248;
$custom-light: #a8657a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2248",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 72
  },
  "hsl": {
    "h": 335.217,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40958,
    "c": 0.13019,
    "h": 359.5
  },
  "luminance": 0.06048
}

Semantic roles & 50–950 ramp

primary
#7E2248
secondary
#4BB187
accent
#E1A147
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E2248

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

Preview Lab → · Contrast checker → · Palette generator →

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