#7A275D#7A275D

#7A275D is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.7% C 0.131 H 344.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#7A275D
RGBrgb(122, 39, 93)
HSLhsl(321, 52%, 32%)
HSVhsv(321, 68%, 48%)
CMYKcmyk(0%, 68%, 23.8%, 52.2%)
CIE-LABlab(30.35, 41.84, -13.29)
CIE-LCHlch(30.35, 43.90, 342.38°)
OKLaboklab(41.68% 0.1259 -0.0354)
OKLCHoklch(41.68% 0.131 344.3)
XYZxyz(10.7277, 6.3800, 11.0203)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A275D #277A44
analogous
#6E277A #7A275D #7A2734
triadic
#7A275D #5D7A27 #275D7A
tetradic
#7A275D #7A6E27 #277A44 #27347A
square
#7A275D #7A6E27 #277A44 #27347A
split-complementary
#7A275D #347A27 #277A6E
monochromatic
#1D0916 #4C183A #7A275D #A83680 #C8539F

Accessibility & contrast

On white

9.23
#7A275D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7A275D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A275D
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A275D#FFFFFF#000000##FFFFFF
##7A275D1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3F5F
Deuteranopia (green-blind)
#484D5B
Tritanopia (blue-blind)
#82263E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a275d;
/* rgb */ color: rgb(122, 39, 93);
/* oklch */ color: oklch(41.7% 0.131 344.3);
Tailwind
colors: {
  custom: {
    50: '#a3678b',
    500: '#7a275d',
    950: '#000000',
  },
}
SCSS
$custom: #7a275d;
$custom-light: #a3678b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a275d",
  "rgb": {
    "r": 122,
    "g": 39,
    "b": 93
  },
  "hsl": {
    "h": 320.964,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41679,
    "c": 0.13076,
    "h": 344.3
  },
  "luminance": 0.06379
}

Semantic roles & 50–950 ramp

primary
#7A275D
secondary
#51AC71
accent
#DB7E4D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #7A275D

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

Preview Lab → · Contrast checker → · Palette generator →

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