#7D276D#7D276D

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

Color values

HEX#7D276D
RGBrgb(125, 39, 109)
HSLhsl(311, 52%, 32%)
HSVhsv(311, 69%, 49%)
CMYKcmyk(0%, 68.8%, 12.8%, 51%)
CIE-LABlab(31.62, 45.20, -21.59)
CIE-LCHlch(31.62, 50.09, 334.47°)
OKLaboklab(42.95% 0.1322 -0.0587)
OKLCHoklch(42.95% 0.145 336.1)
XYZxyz(11.9434, 6.9162, 15.1710)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D276D #277D37
analogous
#62277D #7D276D #7D2742
triadic
#7D276D #6D7D27 #276D7D
tetradic
#7D276D #7D6227 #277D37 #27427D
square
#7D276D #7D6227 #277D37 #27427D
split-complementary
#7D276D #427D27 #277D62
monochromatic
#200A1C #4E1844 #7D276D #AC3696 #CA55B4

Accessibility & contrast

On white

8.81
#7D276D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D276D
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D276D#FFFFFF#000000##FFFFFF
##7D276D1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28426F
Deuteranopia (green-blind)
#444F6B
Tritanopia (blue-blind)
#832C46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d276d;
/* rgb */ color: rgb(125, 39, 109);
/* oklch */ color: oklch(42.9% 0.145 336.1);
Tailwind
colors: {
  custom: {
    50: '#a56897',
    500: '#7d276d',
    950: '#000000',
  },
}
SCSS
$custom: #7d276d;
$custom-light: #a56897;
$custom-dark: #000000;
JSON
{
  "hex": "#7d276d",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 109
  },
  "hsl": {
    "h": 311.163,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42946,
    "c": 0.14469,
    "h": 336.1
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#7D276D
secondary
#51AF63
accent
#DC674C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7D276D

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

Preview Lab → · Contrast checker → · Palette generator →

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