#7D276A#7D276A

#7D276A is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.8% C 0.142 H 337.7°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#7D276A
RGBrgb(125, 39, 106)
HSLhsl(313, 52%, 32%)
HSVhsv(313, 69%, 49%)
CMYKcmyk(0%, 68.8%, 15.2%, 51%)
CIE-LABlab(31.47, 44.72, -19.90)
CIE-LCHlch(31.47, 48.94, 336.01°)
OKLaboklab(42.79% 0.1318 -0.0539)
OKLCHoklch(42.79% 0.142 337.7)
XYZxyz(11.7847, 6.8527, 14.3349)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D276A #277D3A
analogous
#65277D #7D276A #7D273F
triadic
#7D276A #6A7D27 #276A7D
tetradic
#7D276A #7D6527 #277D3A #273F7D
square
#7D276A #7D6527 #277D3A #273F7D
split-complementary
#7D276A #3F7D27 #277D65
monochromatic
#200A1B #4E1842 #7D276A #AC3692 #CA55B0

Accessibility & contrast

On white

8.86
#7D276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7D276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D276A
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D276A#FFFFFF#000000##FFFFFF
##7D276A1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d276a;
/* rgb */ color: rgb(125, 39, 106);
/* oklch */ color: oklch(42.8% 0.142 337.7);
Tailwind
colors: {
  custom: {
    50: '#a66895',
    500: '#7d276a',
    950: '#000000',
  },
}
SCSS
$custom: #7d276a;
$custom-light: #a66895;
$custom-dark: #000000;
JSON
{
  "hex": "#7d276a",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 313.256,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42792,
    "c": 0.14238,
    "h": 337.7
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

primary
#7D276A
secondary
#51AF66
accent
#DC6C4C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7D276A

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

Preview Lab → · Contrast checker → · Palette generator →

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