#7E2743#7E2743

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

Color values

HEX#7E2743
RGBrgb(126, 39, 67)
HSLhsl(341, 53%, 32%)
HSVhsv(341, 69%, 49%)
CMYKcmyk(0%, 69%, 46.8%, 50.6%)
CIE-LABlab(30.14, 39.83, 3.53)
CIE-LCHlch(30.14, 39.99, 5.07°)
OKLaboklab(41.36% 0.1216 0.0095)
OKLCHoklch(41.36% 0.122 4.5)
XYZxyz(10.3436, 6.2932, 5.9791)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2743 #277E62
analogous
#7E276E #7E2743 #7E3727
triadic
#7E2743 #437E27 #27437E
tetradic
#7E2743 #6E7E27 #277E62 #37277E
square
#7E2743 #6E7E27 #277E62 #37277E
split-complementary
#7E2743 #277E37 #276E7E
monochromatic
#210A11 #4F192A #7E2743 #AD355C #CA557B

Accessibility & contrast

On white

9.30
#7E2743 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2743
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2743#FFFFFF#000000##FFFFFF
##7E27431.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C44
Deuteranopia (green-blind)
#514D41
Tritanopia (blue-blind)
#891B32
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2743;
/* rgb */ color: rgb(126, 39, 67);
/* oklch */ color: oklch(41.4% 0.122 4.5);
Tailwind
colors: {
  custom: {
    50: '#a86776',
    500: '#7e2743',
    950: '#000000',
  },
}
SCSS
$custom: #7e2743;
$custom-light: #a86776;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2743",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 67
  },
  "hsl": {
    "h": 340.69,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41355,
    "c": 0.122,
    "h": 4.5
  },
  "luminance": 0.06292
}

Semantic roles & 50–950 ramp

primary
#7E2743
secondary
#52AF91
accent
#DCAE4C
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E2743

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

Preview Lab → · Contrast checker → · Palette generator →

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