#7D276B#7D276B

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

Color values

HEX#7D276B
RGBrgb(125, 39, 107)
HSLhsl(313, 52%, 32%)
HSVhsv(313, 69%, 49%)
CMYKcmyk(0%, 68.8%, 14.4%, 51%)
CIE-LABlab(31.52, 44.88, -20.46)
CIE-LCHlch(31.52, 49.32, 335.49°)
OKLaboklab(42.84% 0.1319 -0.0555)
OKLCHoklch(42.84% 0.143 337.2)
XYZxyz(11.8370, 6.8736, 14.6104)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D276B #277D39
analogous
#64277D #7D276B #7D2740
triadic
#7D276B #6B7D27 #276B7D
tetradic
#7D276B #7D6427 #277D39 #27407D
square
#7D276B #7D6427 #277D39 #27407D
split-complementary
#7D276B #407D27 #277D64
monochromatic
#200A1B #4E1843 #7D276B #AC3693 #CA55B1

Accessibility & contrast

On white

8.84
#7D276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D276B
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D276B#FFFFFF#000000##FFFFFF
##7D276B1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29426D
Deuteranopia (green-blind)
#454F69
Tritanopia (blue-blind)
#842B45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d276b;
/* rgb */ color: rgb(125, 39, 107);
/* oklch */ color: oklch(42.8% 0.143 337.2);
Tailwind
colors: {
  custom: {
    50: '#a56895',
    500: '#7d276b',
    950: '#000000',
  },
}
SCSS
$custom: #7d276b;
$custom-light: #a56895;
$custom-dark: #000000;
JSON
{
  "hex": "#7d276b",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 312.558,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42842,
    "c": 0.14314,
    "h": 337.2
  },
  "luminance": 0.06873
}

Semantic roles & 50–950 ramp

primary
#7D276B
secondary
#51AF65
accent
#DC6A4C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7D276B

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

Preview Lab → · Contrast checker → · Palette generator →

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