#7A266B#7A266B

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

Color values

HEX#7A266B
RGBrgb(122, 38, 107)
HSLhsl(311, 53%, 31%)
HSVhsv(311, 69%, 48%)
CMYKcmyk(0%, 68.9%, 12.3%, 52.2%)
CIE-LABlab(30.85, 44.46, -21.55)
CIE-LCHlch(30.85, 49.41, 334.14°)
OKLaboklab(42.25% 0.1299 -0.0587)
OKLCHoklch(42.25% 0.142 335.7)
XYZxyz(11.3731, 6.5863, 14.5794)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A266B #267A35
analogous
#5F267A #7A266B #7A2641
triadic
#7A266B #6B7A26 #266B7A
tetradic
#7A266B #7A5F26 #267A35 #26417A
square
#7A266B #7A5F26 #267A35 #26417A
split-complementary
#7A266B #417A26 #267A5F
monochromatic
#1D0919 #4B1742 #7A266B #A93594 #C951B4

Accessibility & contrast

On white

9.06
#7A266B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7A266B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A266B
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A266B#FFFFFF#000000##FFFFFF
##7A266B1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416D
Deuteranopia (green-blind)
#424D69
Tritanopia (blue-blind)
#802B45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a266b;
/* rgb */ color: rgb(122, 38, 107);
/* oklch */ color: oklch(42.3% 0.142 335.7);
Tailwind
colors: {
  custom: {
    50: '#a36795',
    500: '#7a266b',
    950: '#000000',
  },
}
SCSS
$custom: #7a266b;
$custom-light: #a36795;
$custom-dark: #000000;
JSON
{
  "hex": "#7a266b",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 310.714,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42253,
    "c": 0.14249,
    "h": 335.7
  },
  "luminance": 0.06585
}

Semantic roles & 50–950 ramp

primary
#7A266B
secondary
#50AC60
accent
#DC664C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #7A266B

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

Preview Lab → · Contrast checker → · Palette generator →

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