#7A255C#7A255C

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

Color values

HEX#7A255C
RGBrgb(122, 37, 92)
HSLhsl(321, 53%, 31%)
HSVhsv(321, 70%, 48%)
CMYKcmyk(0%, 69.7%, 24.6%, 52.2%)
CIE-LABlab(30.00, 42.56, -13.18)
CIE-LCHlch(30.00, 44.56, 342.79°)
OKLaboklab(41.4% 0.1283 -0.035)
OKLCHoklch(41.4% 0.133 344.7)
XYZxyz(10.6198, 6.2345, 10.7672)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A255C #257A43
analogous
#6D257A #7A255C #7A2531
triadic
#7A255C #5C7A25 #255C7A
tetradic
#7A255C #7A6D25 #257A43 #25317A
square
#7A255C #7A6D25 #257A43 #25317A
split-complementary
#7A255C #317A25 #257A6D
monochromatic
#1C0915 #4B1739 #7A255C #A9337F #CA509F

Accessibility & contrast

On white

9.35
#7A255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7A255C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A255C
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A255C#FFFFFF#000000##FFFFFF
##7A255C1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3E5E
Deuteranopia (green-blind)
#474C5A
Tritanopia (blue-blind)
#82243D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a255c;
/* rgb */ color: rgb(122, 37, 92);
/* oklch */ color: oklch(41.4% 0.133 344.7);
Tailwind
colors: {
  custom: {
    50: '#a4668a',
    500: '#7a255c',
    950: '#000000',
  },
}
SCSS
$custom: #7a255c;
$custom-light: #a4668a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a255c",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 321.176,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41405,
    "c": 0.133,
    "h": 344.7
  },
  "luminance": 0.06233
}

Semantic roles & 50–950 ramp

primary
#7A255C
secondary
#4EAC70
accent
#DD7E4B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A255C

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

Preview Lab → · Contrast checker → · Palette generator →

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