#7D276C#7D276C

#7D276C is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.144 H 336.6°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7D276C
RGBrgb(125, 39, 108)
HSLhsl(312, 52%, 32%)
HSVhsv(312, 69%, 49%)
CMYKcmyk(0%, 68.8%, 13.6%, 51%)
CIE-LABlab(31.57, 45.04, -21.03)
CIE-LCHlch(31.57, 49.70, 334.97°)
OKLaboklab(42.89% 0.1321 -0.0571)
OKLCHoklch(42.89% 0.144 336.6)
XYZxyz(11.8899, 6.8947, 14.8891)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D276C #277D38
analogous
#63277D #7D276C #7D2741
triadic
#7D276C #6C7D27 #276C7D
tetradic
#7D276C #7D6327 #277D38 #27417D
square
#7D276C #7D6327 #277D38 #27417D
split-complementary
#7D276C #417D27 #277D63
monochromatic
#200A1B #4E1844 #7D276C #AC3694 #CA55B3

Accessibility & contrast

On white

8.83
#7D276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7D276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D276C
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D276C#FFFFFF#000000##FFFFFF
##7D276C1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29426E
Deuteranopia (green-blind)
#444F6A
Tritanopia (blue-blind)
#842C46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d276c;
/* rgb */ color: rgb(125, 39, 108);
/* oklch */ color: oklch(42.9% 0.144 336.6);
Tailwind
colors: {
  custom: {
    50: '#a56896',
    500: '#7d276c',
    950: '#000000',
  },
}
SCSS
$custom: #7d276c;
$custom-light: #a56896;
$custom-dark: #000000;
JSON
{
  "hex": "#7d276c",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 311.86,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42894,
    "c": 0.14391,
    "h": 336.6
  },
  "luminance": 0.06894
}

Semantic roles & 50–950 ramp

primary
#7D276C
secondary
#51AF64
accent
#DC684C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7D276C

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

Preview Lab → · Contrast checker → · Palette generator →

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