#7E276A#7E276A

#7E276A is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.143 H 338.2°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#7E276A
RGBrgb(126, 39, 106)
HSLhsl(314, 53%, 32%)
HSVhsv(314, 69%, 49%)
CMYKcmyk(0%, 69%, 15.9%, 50.6%)
CIE-LABlab(31.64, 45.00, -19.62)
CIE-LCHlch(31.64, 49.09, 336.44°)
OKLaboklab(42.95% 0.1329 -0.0531)
OKLCHoklch(42.95% 0.143 338.2)
XYZxyz(11.9314, 6.9283, 14.3418)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E276A #277E3B
analogous
#66277E #7E276A #7E273F
triadic
#7E276A #6A7E27 #276A7E
tetradic
#7E276A #7E6627 #277E3B #273F7E
square
#7E276A #7E6627 #277E3B #273F7E
split-complementary
#7E276A #3F7E27 #277E66
monochromatic
#210A1B #4F1943 #7E276A #AD3591 #CA55AF

Accessibility & contrast

On white

8.80
#7E276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7E276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E276A
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E276A#FFFFFF#000000##FFFFFF
##7E276A1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A426C
Deuteranopia (green-blind)
#464F68
Tritanopia (blue-blind)
#852B45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e276a;
/* rgb */ color: rgb(126, 39, 106);
/* oklch */ color: oklch(43.0% 0.143 338.2);
Tailwind
colors: {
  custom: {
    50: '#a66895',
    500: '#7e276a',
    950: '#000000',
  },
}
SCSS
$custom: #7e276a;
$custom-light: #a66895;
$custom-dark: #000000;
JSON
{
  "hex": "#7e276a",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 313.793,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42952,
    "c": 0.14308,
    "h": 338.2
  },
  "luminance": 0.06927
}

Semantic roles & 50–950 ramp

primary
#7E276A
secondary
#52AF67
accent
#DC6D4C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7E276A

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

Preview Lab → · Contrast checker → · Palette generator →

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