#7D276E#7D276E

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

Color values

HEX#7D276E
RGBrgb(125, 39, 110)
HSLhsl(310, 52%, 32%)
HSVhsv(310, 69%, 49%)
CMYKcmyk(0%, 68.8%, 12%, 51%)
CIE-LABlab(31.66, 45.36, -22.15)
CIE-LCHlch(31.66, 50.48, 333.98°)
OKLaboklab(43% 0.1324 -0.0603)
OKLCHoklch(43% 0.145 335.5)
XYZxyz(11.9976, 6.9378, 15.4561)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D276E #277D36
analogous
#61277D #7D276E #7D2743
triadic
#7D276E #6E7D27 #276E7D
tetradic
#7D276E #7D6127 #277D36 #27437D
square
#7D276E #7D6127 #277D36 #27437D
split-complementary
#7D276E #437D27 #277D61
monochromatic
#200A1C #4E1845 #7D276E #AC3697 #CA55B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D276E#FFFFFF#000000##FFFFFF
##7D276E1.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)
#274270
Deuteranopia (green-blind)
#444F6C
Tritanopia (blue-blind)
#832D47
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d276e;
/* rgb */ color: rgb(125, 39, 110);
/* oklch */ color: oklch(43.0% 0.145 335.5);
Tailwind
colors: {
  custom: {
    50: '#a56898',
    500: '#7d276e',
    950: '#000000',
  },
}
SCSS
$custom: #7d276e;
$custom-light: #a56898;
$custom-dark: #000000;
JSON
{
  "hex": "#7d276e",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 310.465,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42998,
    "c": 0.14547,
    "h": 335.5
  },
  "luminance": 0.06937
}

Semantic roles & 50–950 ramp

primary
#7D276E
secondary
#51AF62
accent
#DC654C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7D276E

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

Preview Lab → · Contrast checker → · Palette generator →

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