#7A276C#7A276C

#7A276C is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.4% C 0.142 H 335.2°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#7A276C
RGBrgb(122, 39, 108)
HSLhsl(310, 52%, 32%)
HSVhsv(310, 68%, 48%)
CMYKcmyk(0%, 68%, 11.5%, 52.2%)
CIE-LABlab(31.05, 44.20, -21.87)
CIE-LCHlch(31.05, 49.32, 333.67°)
OKLaboklab(42.42% 0.1287 -0.0596)
OKLCHoklch(42.42% 0.142 335.2)
XYZxyz(11.4584, 6.6723, 14.8688)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A276C #277A35
analogous
#5F277A #7A276C #7A2743
triadic
#7A276C #6C7A27 #276C7A
tetradic
#7A276C #7A5F27 #277A35 #27437A
square
#7A276C #7A5F27 #277A35 #27437A
split-complementary
#7A276C #437A27 #277A5F
monochromatic
#1D091A #4C1843 #7A276C #A83695 #C853B4

Accessibility & contrast

On white

9.00
#7A276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7A276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A276C
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A276C#FFFFFF#000000##FFFFFF
##7A276C1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416E
Deuteranopia (green-blind)
#424E6A
Tritanopia (blue-blind)
#802D46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a276c;
/* rgb */ color: rgb(122, 39, 108);
/* oklch */ color: oklch(42.4% 0.142 335.2);
Tailwind
colors: {
  custom: {
    50: '#a36896',
    500: '#7a276c',
    950: '#000000',
  },
}
SCSS
$custom: #7a276c;
$custom-light: #a36896;
$custom-dark: #000000;
JSON
{
  "hex": "#7a276c",
  "rgb": {
    "r": 122,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 310.12,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42417,
    "c": 0.14186,
    "h": 335.2
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#7A276C
secondary
#51AC60
accent
#DB654D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #7A276C

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

Preview Lab → · Contrast checker → · Palette generator →

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