#7A266A#7A266A

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

Color values

HEX#7A266A
RGBrgb(122, 38, 106)
HSLhsl(311, 53%, 31%)
HSVhsv(311, 69%, 48%)
CMYKcmyk(0%, 68.9%, 13.1%, 52.2%)
CIE-LABlab(30.80, 44.30, -20.99)
CIE-LCHlch(30.80, 49.02, 334.65°)
OKLaboklab(42.2% 0.1297 -0.0571)
OKLCHoklch(42.2% 0.142 336.3)
XYZxyz(11.3208, 6.5654, 14.3039)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A266A #267A36
analogous
#60267A #7A266A #7A2640
triadic
#7A266A #6A7A26 #266A7A
tetradic
#7A266A #7A6026 #267A36 #26407A
square
#7A266A #7A6026 #267A36 #26407A
split-complementary
#7A266A #407A26 #267A60
monochromatic
#1D0919 #4B1741 #7A266A #A93593 #C951B2

Accessibility & contrast

On white

9.08
#7A266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7A266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A266A
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A266A#FFFFFF#000000##FFFFFF
##7A266A1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27406C
Deuteranopia (green-blind)
#434D68
Tritanopia (blue-blind)
#802B44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a266a;
/* rgb */ color: rgb(122, 38, 106);
/* oklch */ color: oklch(42.2% 0.142 336.3);
Tailwind
colors: {
  custom: {
    50: '#a36795',
    500: '#7a266a',
    950: '#000000',
  },
}
SCSS
$custom: #7a266a;
$custom-light: #a36795;
$custom-dark: #000000;
JSON
{
  "hex": "#7a266a",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 311.429,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42201,
    "c": 0.14171,
    "h": 336.3
  },
  "luminance": 0.06564
}

Semantic roles & 50–950 ramp

primary
#7A266A
secondary
#50AC61
accent
#DC674C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #7A266A

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

Preview Lab → · Contrast checker → · Palette generator →

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