#7A255D#7A255D

#7A255D is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.5% C 0.134 H 344.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#7A255D
RGBrgb(122, 37, 93)
HSLhsl(320, 53%, 31%)
HSVhsv(320, 70%, 48%)
CMYKcmyk(0%, 69.7%, 23.8%, 52.2%)
CIE-LABlab(30.04, 42.71, -13.77)
CIE-LCHlch(30.04, 44.87, 342.13°)
OKLaboklab(41.45% 0.1285 -0.0367)
OKLCHoklch(41.45% 0.134 344.1)
XYZxyz(10.6638, 6.2521, 10.9990)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A255D #257A42
analogous
#6C257A #7A255D #7A2532
triadic
#7A255D #5D7A25 #255D7A
tetradic
#7A255D #7A6C25 #257A42 #25327A
square
#7A255D #7A6C25 #257A42 #25327A
split-complementary
#7A255D #327A25 #257A6C
monochromatic
#1C0915 #4B1739 #7A255D #A93381 #CA50A0

Accessibility & contrast

On white

9.33
#7A255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A255D
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A255D#FFFFFF#000000##FFFFFF
##7A255D1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3E5F
Deuteranopia (green-blind)
#474C5B
Tritanopia (blue-blind)
#82253D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a255d;
/* rgb */ color: rgb(122, 37, 93);
/* oklch */ color: oklch(41.5% 0.134 344.1);
Tailwind
colors: {
  custom: {
    50: '#a3668b',
    500: '#7a255d',
    950: '#000000',
  },
}
SCSS
$custom: #7a255d;
$custom-light: #a3668b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a255d",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 320.471,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41451,
    "c": 0.13366,
    "h": 344.1
  },
  "luminance": 0.06251
}

Semantic roles & 50–950 ramp

primary
#7A255D
secondary
#4EAC6E
accent
#DD7D4B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7A255D

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

Preview Lab → · Contrast checker → · Palette generator →

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