#7C276D#7C276D

#7C276D is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.144 H 335.6°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#7C276D
RGBrgb(124, 39, 109)
HSLhsl(311, 52%, 32%)
HSVhsv(311, 69%, 49%)
CMYKcmyk(0%, 68.5%, 12.1%, 51.4%)
CIE-LABlab(31.44, 44.92, -21.87)
CIE-LCHlch(31.44, 49.97, 334.04°)
OKLaboklab(42.79% 0.1311 -0.0595)
OKLCHoklch(42.79% 0.144 335.6)
XYZxyz(11.7981, 6.8412, 15.1641)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C276D #277C36
analogous
#61277C #7C276D #7C2743
triadic
#7C276D #6D7C27 #276D7C
tetradic
#7C276D #7C6127 #277C36 #27437C
square
#7C276D #7C6127 #277C36 #27437C
split-complementary
#7C276D #437C27 #277C61
monochromatic
#1F0A1B #4D1844 #7C276D #AB3696 #C954B5

Accessibility & contrast

On white

8.87
#7C276D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C276D
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C276D#FFFFFF#000000##FFFFFF
##7C276D1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27426F
Deuteranopia (green-blind)
#434F6B
Tritanopia (blue-blind)
#822C46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c276d;
/* rgb */ color: rgb(124, 39, 109);
/* oklch */ color: oklch(42.8% 0.144 335.6);
Tailwind
colors: {
  custom: {
    50: '#a56897',
    500: '#7c276d',
    950: '#000000',
  },
}
SCSS
$custom: #7c276d;
$custom-light: #a56897;
$custom-dark: #000000;
JSON
{
  "hex": "#7c276d",
  "rgb": {
    "r": 124,
    "g": 39,
    "b": 109
  },
  "hsl": {
    "h": 310.588,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42787,
    "c": 0.144,
    "h": 335.6
  },
  "luminance": 0.0684
}

Semantic roles & 50–950 ramp

primary
#7C276D
secondary
#51AE61
accent
#DC664C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7C276D

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

Preview Lab → · Contrast checker → · Palette generator →

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