#7E2745#7E2745

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

Color values

HEX#7E2745
RGBrgb(126, 39, 69)
HSLhsl(339, 53%, 32%)
HSVhsv(339, 69%, 49%)
CMYKcmyk(0%, 69%, 45.2%, 50.6%)
CIE-LABlab(30.20, 40.05, 2.30)
CIE-LCHlch(30.20, 40.11, 3.28°)
OKLaboklab(41.42% 0.1224 0.0064)
OKLCHoklch(41.42% 0.123 3)
XYZxyz(10.4046, 6.3176, 6.3006)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2745 #277E60
analogous
#7E2771 #7E2745 #7E3427
triadic
#7E2745 #457E27 #27457E
tetradic
#7E2745 #717E27 #277E60 #34277E
square
#7E2745 #717E27 #277E60 #34277E
split-complementary
#7E2745 #277E34 #27717E
monochromatic
#210A12 #4F192B #7E2745 #AD355F #CA557D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2745#FFFFFF#000000##FFFFFF
##7E27451.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)
#393C46
Deuteranopia (green-blind)
#504D43
Tritanopia (blue-blind)
#891C33
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2745;
/* rgb */ color: rgb(126, 39, 69);
/* oklch */ color: oklch(41.4% 0.123 3.0);
Tailwind
colors: {
  custom: {
    50: '#a86778',
    500: '#7e2745',
    950: '#000000',
  },
}
SCSS
$custom: #7e2745;
$custom-light: #a86778;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2745",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 69
  },
  "hsl": {
    "h": 339.31,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41419,
    "c": 0.12258,
    "h": 3
  },
  "luminance": 0.06316
}

Semantic roles & 50–950 ramp

primary
#7E2745
secondary
#52AF8F
accent
#DCAA4C
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E2745

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

Preview Lab → · Contrast checker → · Palette generator →

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