#7A256A#7A256A

#7A256A is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.143 H 336.2°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#7A256A
RGBrgb(122, 37, 106)
HSLhsl(311, 53%, 31%)
HSVhsv(311, 70%, 48%)
CMYKcmyk(0%, 69.7%, 13.1%, 52.2%)
CIE-LABlab(30.65, 44.72, -21.22)
CIE-LCHlch(30.65, 49.50, 334.61°)
OKLaboklab(42.09% 0.131 -0.0577)
OKLCHoklch(42.09% 0.143 336.2)
XYZxyz(11.2893, 6.5023, 14.2934)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A256A #257A35
analogous
#5F257A #7A256A #7A253F
triadic
#7A256A #6A7A25 #256A7A
tetradic
#7A256A #7A5F25 #257A35 #253F7A
square
#7A256A #7A5F25 #257A35 #253F7A
split-complementary
#7A256A #3F7A25 #257A5F
monochromatic
#1C0918 #4B1741 #7A256A #A93393 #CA50B3

Accessibility & contrast

On white

9.13
#7A256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7A256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A256A
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A256A#FFFFFF#000000##FFFFFF
##7A256A1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26406C
Deuteranopia (green-blind)
#424D68
Tritanopia (blue-blind)
#802A44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a256a;
/* rgb */ color: rgb(122, 37, 106);
/* oklch */ color: oklch(42.1% 0.143 336.2);
Tailwind
colors: {
  custom: {
    50: '#a36795',
    500: '#7a256a',
    950: '#000000',
  },
}
SCSS
$custom: #7a256a;
$custom-light: #a36795;
$custom-dark: #000000;
JSON
{
  "hex": "#7a256a",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 311.294,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42091,
    "c": 0.14311,
    "h": 336.2
  },
  "luminance": 0.06501
}

Semantic roles & 50–950 ramp

primary
#7A256A
secondary
#4EAC60
accent
#DD664B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #7A256A

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

Preview Lab → · Contrast checker → · Palette generator →

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