#7A255A#7A255A

#7A255A is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.132 H 346.0°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7A255A
RGBrgb(122, 37, 90)
HSLhsl(323, 53%, 31%)
HSVhsv(323, 70%, 48%)
CMYKcmyk(0%, 69.7%, 26.2%, 52.2%)
CIE-LABlab(29.91, 42.27, -12.01)
CIE-LCHlch(29.91, 43.95, 344.14°)
OKLaboklab(41.32% 0.1278 -0.0318)
OKLCHoklch(41.32% 0.132 346)
XYZxyz(10.5335, 6.2000, 10.3129)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A255A #257A45
analogous
#6F257A #7A255A #7A252F
triadic
#7A255A #5A7A25 #255A7A
tetradic
#7A255A #7A6F25 #257A45 #252F7A
square
#7A255A #7A6F25 #257A45 #252F7A
split-complementary
#7A255A #2F7A25 #257A6F
monochromatic
#1C0915 #4B1737 #7A255A #A9337D #CA509C

Accessibility & contrast

On white

9.38
#7A255A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7A255A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A255A
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A255A#FFFFFF#000000##FFFFFF
##7A255A1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3D5C
Deuteranopia (green-blind)
#484C58
Tritanopia (blue-blind)
#82233C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a255a;
/* rgb */ color: rgb(122, 37, 90);
/* oklch */ color: oklch(41.3% 0.132 346.0);
Tailwind
colors: {
  custom: {
    50: '#a46688',
    500: '#7a255a',
    950: '#000000',
  },
}
SCSS
$custom: #7a255a;
$custom-light: #a46688;
$custom-dark: #000000;
JSON
{
  "hex": "#7a255a",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 322.588,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41315,
    "c": 0.13171,
    "h": 346
  },
  "luminance": 0.06199
}

Semantic roles & 50–950 ramp

primary
#7A255A
secondary
#4EAC72
accent
#DD824B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A255A

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

Preview Lab → · Contrast checker → · Palette generator →

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