#7A255B#7A255B

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

Color values

HEX#7A255B
RGBrgb(122, 37, 91)
HSLhsl(322, 53%, 31%)
HSVhsv(322, 70%, 48%)
CMYKcmyk(0%, 69.7%, 25.4%, 52.2%)
CIE-LABlab(29.95, 42.42, -12.60)
CIE-LCHlch(29.95, 44.25, 343.46°)
OKLaboklab(41.36% 0.1281 -0.0334)
OKLCHoklch(41.36% 0.132 345.4)
XYZxyz(10.5763, 6.2171, 10.5385)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A255B #257A44
analogous
#6E257A #7A255B #7A2530
triadic
#7A255B #5B7A25 #255B7A
tetradic
#7A255B #7A6E25 #257A44 #25307A
square
#7A255B #7A6E25 #257A44 #25307A
split-complementary
#7A255B #307A25 #257A6E
monochromatic
#1C0915 #4B1738 #7A255B #A9337E #CA509D

Accessibility & contrast

On white

9.36
#7A255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A255B
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A255B#FFFFFF#000000##FFFFFF
##7A255B1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3D5D
Deuteranopia (green-blind)
#474C59
Tritanopia (blue-blind)
#82243C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a255b;
/* rgb */ color: rgb(122, 37, 91);
/* oklch */ color: oklch(41.4% 0.132 345.4);
Tailwind
colors: {
  custom: {
    50: '#a46689',
    500: '#7a255b',
    950: '#000000',
  },
}
SCSS
$custom: #7a255b;
$custom-light: #a46689;
$custom-dark: #000000;
JSON
{
  "hex": "#7a255b",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 321.882,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4136,
    "c": 0.13234,
    "h": 345.4
  },
  "luminance": 0.06216
}

Semantic roles & 50–950 ramp

primary
#7A255B
secondary
#4EAC71
accent
#DD804B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A255B

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

Preview Lab → · Contrast checker → · Palette generator →

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