#7A255E#7A255E

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

Color values

HEX#7A255E
RGBrgb(122, 37, 94)
HSLhsl(320, 53%, 31%)
HSVhsv(320, 70%, 48%)
CMYKcmyk(0%, 69.7%, 23%, 52.2%)
CIE-LABlab(30.08, 42.85, -14.35)
CIE-LCHlch(30.08, 45.19, 341.49°)
OKLaboklab(41.5% 0.1288 -0.0383)
OKLCHoklch(41.5% 0.134 343.4)
XYZxyz(10.7083, 6.2699, 11.2338)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A255E #257A41
analogous
#6B257A #7A255E #7A2533
triadic
#7A255E #5E7A25 #255E7A
tetradic
#7A255E #7A6B25 #257A41 #25337A
square
#7A255E #7A6B25 #257A41 #25337A
split-complementary
#7A255E #337A25 #257A6B
monochromatic
#1C0916 #4B173A #7A255E #A93382 #CA50A2

Accessibility & contrast

On white

9.32
#7A255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A255E
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A255E#FFFFFF#000000##FFFFFF
##7A255E1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3E60
Deuteranopia (green-blind)
#464C5C
Tritanopia (blue-blind)
#82253E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a255e;
/* rgb */ color: rgb(122, 37, 94);
/* oklch */ color: oklch(41.5% 0.134 343.4);
Tailwind
colors: {
  custom: {
    50: '#a3678b',
    500: '#7a255e',
    950: '#000000',
  },
}
SCSS
$custom: #7a255e;
$custom-light: #a3678b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a255e",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 319.765,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41497,
    "c": 0.13434,
    "h": 343.4
  },
  "luminance": 0.06269
}

Semantic roles & 50–950 ramp

primary
#7A255E
secondary
#4EAC6D
accent
#DD7B4B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #7A255E

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

Preview Lab → · Contrast checker → · Palette generator →

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