#7E2245#7E2245

#7E2245 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.129 H 1.6°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7E2245
RGBrgb(126, 34, 69)
HSLhsl(337, 58%, 31%)
HSVhsv(337, 73%, 49%)
CMYKcmyk(0%, 73%, 45.2%, 50.6%)
CIE-LABlab(29.44, 42.14, 1.20)
CIE-LCHlch(29.44, 42.16, 1.63°)
OKLaboklab(40.86% 0.1291 0.0036)
OKLCHoklch(40.86% 0.129 1.6)
XYZxyz(10.2512, 6.0106, 6.2494)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2245 #227E5B
analogous
#7E2273 #7E2245 #7E2D22
triadic
#7E2245 #457E22 #22457E
tetradic
#7E2245 #737E22 #227E5B #2D227E
square
#7E2245 #737E22 #227E5B #2D227E
split-complementary
#7E2245 #227E2D #22737E
monochromatic
#1E0810 #4E152B #7E2245 #AE2F5F #CF4C7E

Accessibility & contrast

On white

9.54
#7E2245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E2245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2245
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2245#FFFFFF#000000##FFFFFF
##7E22451.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363A46
Deuteranopia (green-blind)
#4E4C43
Tritanopia (blue-blind)
#891531
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2245;
/* rgb */ color: rgb(126, 34, 69);
/* oklch */ color: oklch(40.9% 0.129 1.6);
Tailwind
colors: {
  custom: {
    50: '#a86578',
    500: '#7e2245',
    950: '#000000',
  },
}
SCSS
$custom: #7e2245;
$custom-light: #a86578;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2245",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 69
  },
  "hsl": {
    "h": 337.174,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40856,
    "c": 0.12913,
    "h": 1.6
  },
  "luminance": 0.06009
}

Semantic roles & 50–950 ramp

primary
#7E2245
secondary
#4BB18A
accent
#E1A647
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E2245

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

Preview Lab → · Contrast checker → · Palette generator →

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