#7A276A#7A276A

#7A276A is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.140 H 336.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#7A276A
RGBrgb(122, 39, 106)
HSLhsl(312, 52%, 32%)
HSVhsv(312, 68%, 48%)
CMYKcmyk(0%, 68%, 13.1%, 52.2%)
CIE-LABlab(30.95, 43.87, -20.75)
CIE-LCHlch(30.95, 48.53, 334.69°)
OKLaboklab(42.31% 0.1284 -0.0564)
OKLCHoklch(42.31% 0.14 336.3)
XYZxyz(11.3532, 6.6302, 14.3147)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A276A #277A37
analogous
#61277A #7A276A #7A2741
triadic
#7A276A #6A7A27 #276A7A
tetradic
#7A276A #7A6127 #277A37 #27417A
square
#7A276A #7A6127 #277A37 #27417A
split-complementary
#7A276A #417A27 #277A61
monochromatic
#1D0919 #4C1842 #7A276A #A83692 #C853B2

Accessibility & contrast

On white

9.03
#7A276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A276A
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A276A#FFFFFF#000000##FFFFFF
##7A276A1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28416C
Deuteranopia (green-blind)
#434D68
Tritanopia (blue-blind)
#802C45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a276a;
/* rgb */ color: rgb(122, 39, 106);
/* oklch */ color: oklch(42.3% 0.140 336.3);
Tailwind
colors: {
  custom: {
    50: '#a36895',
    500: '#7a276a',
    950: '#000000',
  },
}
SCSS
$custom: #7a276a;
$custom-light: #a36895;
$custom-dark: #000000;
JSON
{
  "hex": "#7a276a",
  "rgb": {
    "r": 122,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 311.566,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42312,
    "c": 0.14027,
    "h": 336.3
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#7A276A
secondary
#51AC62
accent
#DB684D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #7A276A

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

Preview Lab → · Contrast checker → · Palette generator →

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