#7A275C#7A275C

#7A275C is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.6% C 0.130 H 345.0°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7A275C
RGBrgb(122, 39, 92)
HSLhsl(322, 52%, 32%)
HSVhsv(322, 68%, 48%)
CMYKcmyk(0%, 68%, 24.6%, 52.2%)
CIE-LABlab(30.31, 41.70, -12.70)
CIE-LCHlch(30.31, 43.59, 343.05°)
OKLaboklab(41.63% 0.1257 -0.0337)
OKLCHoklch(41.63% 0.13 345)
XYZxyz(10.6837, 6.3624, 10.7885)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A275C #277A45
analogous
#6F277A #7A275C #7A2733
triadic
#7A275C #5C7A27 #275C7A
tetradic
#7A275C #7A6F27 #277A45 #27337A
square
#7A275C #7A6F27 #277A45 #27337A
split-complementary
#7A275C #337A27 #277A6F
monochromatic
#1D0916 #4C1839 #7A275C #A8367F #C8539E

Accessibility & contrast

On white

9.24
#7A275C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7A275C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A275C
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A275C#FFFFFF#000000##FFFFFF
##7A275C1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303E5E
Deuteranopia (green-blind)
#484C5A
Tritanopia (blue-blind)
#82263E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a275c;
/* rgb */ color: rgb(122, 39, 92);
/* oklch */ color: oklch(41.6% 0.130 345.0);
Tailwind
colors: {
  custom: {
    50: '#a3678a',
    500: '#7a275c',
    950: '#000000',
  },
}
SCSS
$custom: #7a275c;
$custom-light: #a3678a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a275c",
  "rgb": {
    "r": 122,
    "g": 39,
    "b": 92
  },
  "hsl": {
    "h": 321.687,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41634,
    "c": 0.1301,
    "h": 345
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#7A275C
secondary
#51AC72
accent
#DB804D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #7A275C

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

Preview Lab → · Contrast checker → · Palette generator →

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