#7A276B#7A276B

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

Color values

HEX#7A276B
RGBrgb(122, 39, 107)
HSLhsl(311, 52%, 32%)
HSVhsv(311, 68%, 48%)
CMYKcmyk(0%, 68%, 12.3%, 52.2%)
CIE-LABlab(31.00, 44.04, -21.31)
CIE-LCHlch(31.00, 48.92, 334.18°)
OKLaboklab(42.36% 0.1286 -0.058)
OKLCHoklch(42.36% 0.141 335.7)
XYZxyz(11.4055, 6.6511, 14.5902)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A276B #277A36
analogous
#60277A #7A276B #7A2742
triadic
#7A276B #6B7A27 #276B7A
tetradic
#7A276B #7A6027 #277A36 #27427A
square
#7A276B #7A6027 #277A36 #27427A
split-complementary
#7A276B #427A27 #277A60
monochromatic
#1D091A #4C1842 #7A276B #A83694 #C853B3

Accessibility & contrast

On white

9.01
#7A276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A276B
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A276B#FFFFFF#000000##FFFFFF
##7A276B1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a276b;
/* rgb */ color: rgb(122, 39, 107);
/* oklch */ color: oklch(42.4% 0.141 335.7);
Tailwind
colors: {
  custom: {
    50: '#a36895',
    500: '#7a276b',
    950: '#000000',
  },
}
SCSS
$custom: #7a276b;
$custom-light: #a36895;
$custom-dark: #000000;
JSON
{
  "hex": "#7a276b",
  "rgb": {
    "r": 122,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 310.843,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42364,
    "c": 0.14106,
    "h": 335.7
  },
  "luminance": 0.0665
}

Semantic roles & 50–950 ramp

primary
#7A276B
secondary
#51AC61
accent
#DB664D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #7A276B

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

Preview Lab → · Contrast checker → · Palette generator →

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