#7A286A#7A286A

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

Color values

HEX#7A286A
RGBrgb(122, 40, 106)
HSLhsl(312, 51%, 32%)
HSVhsv(312, 67%, 48%)
CMYKcmyk(0%, 67.2%, 13.1%, 52.2%)
CIE-LABlab(31.11, 43.44, -20.50)
CIE-LCHlch(31.11, 48.04, 334.73°)
OKLaboklab(42.43% 0.1272 -0.0557)
OKLCHoklch(42.43% 0.139 336.3)
XYZxyz(11.3865, 6.6967, 14.3258)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A286A #287A38
analogous
#61287A #7A286A #7A2841
triadic
#7A286A #6A7A28 #286A7A
tetradic
#7A286A #7A6128 #287A38 #28417A
square
#7A286A #7A6128 #287A38 #28417A
split-complementary
#7A286A #417A28 #287A61
monochromatic
#1E0A1A #4C1942 #7A286A #A83792 #C755B1

Accessibility & contrast

On white

8.98
#7A286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7A286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A286A
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A286A#FFFFFF#000000##FFFFFF
##7A286A1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29416C
Deuteranopia (green-blind)
#434E68
Tritanopia (blue-blind)
#802D45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a286a;
/* rgb */ color: rgb(122, 40, 106);
/* oklch */ color: oklch(42.4% 0.139 336.3);
Tailwind
colors: {
  custom: {
    50: '#a36895',
    500: '#7a286a',
    950: '#000000',
  },
}
SCSS
$custom: #7a286a;
$custom-light: #a36895;
$custom-dark: #000000;
JSON
{
  "hex": "#7a286a",
  "rgb": {
    "r": 122,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 311.707,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42426,
    "c": 0.13882,
    "h": 336.3
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#7A286A
secondary
#52AC63
accent
#DA694E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #7A286A

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

Preview Lab → · Contrast checker → · Palette generator →

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